Browse Source

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

Originally committed as revision 18298 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Måns Rullgård 17 years ago
parent
commit
33afad5451
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      libavformat/Makefile
  2. +1
    -1
      subdir.mak

+ 2
- 0
libavformat/Makefile View File

@@ -247,3 +247,5 @@ EXAMPLES = output
TESTPROGS = timefilter

include $(SUBDIR)../subdir.mak

$(SUBDIR)output-example$(EXESUF): ELIBS = -lswscale

+ 1
- 1
subdir.mak View File

@@ -22,7 +22,7 @@ THIS_LIB := $(SUBDIR)$($(BUILD_SHARED:yes=S)LIBNAME)

define RULES
$(SUBDIR)%$(EXESUF): $(SUBDIR)%.o
$(CC) $(FFLDFLAGS) -o $$@ $$^ -l$(FULLNAME) $(FFEXTRALIBS)
$(CC) $(FFLDFLAGS) -o $$@ $$^ -l$(FULLNAME) $(FFEXTRALIBS) $$(ELIBS)

$(SUBDIR)%-test.o: $(SUBDIR)%.c
$(CC) $(CFLAGS) -DTEST -c -o $$@ $$^


Loading…
Cancel
Save