Commit a19fa1b4 authored by mru's avatar mru

Add $(ELIBS) to example/test app link command

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18298 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6b73fd18
...@@ -247,3 +247,5 @@ EXAMPLES = output ...@@ -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) ...@@ -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 $$@ $$^
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment