mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 17:32:06 +00:00
Add $(ELIBS) to example/test app link command
Originally committed as revision 18298 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
bbba084b4f
commit
33afad5451
@ -247,3 +247,5 @@ EXAMPLES = output
|
|||||||
TESTPROGS = timefilter
|
TESTPROGS = timefilter
|
||||||
|
|
||||||
include $(SUBDIR)../subdir.mak
|
include $(SUBDIR)../subdir.mak
|
||||||
|
|
||||||
|
$(SUBDIR)output-example$(EXESUF): ELIBS = -lswscale
|
||||||
|
@ -22,7 +22,7 @@ THIS_LIB := $(SUBDIR)$($(BUILD_SHARED:yes=S)LIBNAME)
|
|||||||
|
|
||||||
define RULES
|
define RULES
|
||||||
$(SUBDIR)%$(EXESUF): $(SUBDIR)%.o
|
$(SUBDIR)%$(EXESUF): $(SUBDIR)%.o
|
||||||
$(CC) $(FFLDFLAGS) -o $$@ $$^ -l$(FULLNAME) $(FFEXTRALIBS)
|
$(CC) $(FFLDFLAGS) -o $$@ $$^ -l$(FULLNAME) $(FFEXTRALIBS) $$(ELIBS)
|
||||||
|
|
||||||
$(SUBDIR)%-test.o: $(SUBDIR)%.c
|
$(SUBDIR)%-test.o: $(SUBDIR)%.c
|
||||||
$(CC) $(CFLAGS) -DTEST -c -o $$@ $$^
|
$(CC) $(CFLAGS) -DTEST -c -o $$@ $$^
|
||||||
|
Loading…
Reference in New Issue
Block a user