summaryrefslogtreecommitdiff
path: root/subdir.mak
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-04-01 00:53:34 +0000
committerMåns Rullgård <mans@mansr.com>2009-04-01 00:53:34 +0000
commit33afad545100315e86ca22a27067373379df3aa4 (patch)
treed5ed4283d4fa8d0671784566bdf3e9a5528e388a /subdir.mak
parentbbba084b4fcc36c0625368afe6e7586e4991de46 (diff)
downloadffmpeg-33afad545100315e86ca22a27067373379df3aa4.tar.gz
Add $(ELIBS) to example/test app link command
Originally committed as revision 18298 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'subdir.mak')
-rw-r--r--subdir.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/subdir.mak b/subdir.mak
index 7343f548e0..7148ce6fcd 100644
--- a/subdir.mak
+++ b/subdir.mak
@@ -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 $$@ $$^