summaryrefslogtreecommitdiff
path: root/subdir.mak
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-04-01 00:53:28 +0000
committerMåns Rullgård <mans@mansr.com>2009-04-01 00:53:28 +0000
commit92c093c1b5bf5593e5bb987499c5947834cd3ddc (patch)
treebb8bab89140eb7f7775d59b7dc1d4b1676bcbe0e /subdir.mak
parentbdc2cc16eb61f1aaa9eb56deb762eb91aa778fff (diff)
Link tests/examples with -lfoo instead of libfoo.a
Originally committed as revision 18296 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 6b098cdb67..03c852a09e 100644
--- a/subdir.mak
+++ b/subdir.mak
@@ -20,7 +20,7 @@ INCINSTDIR := $(INCDIR)/lib$(NAME)
define RULES
$(SUBDIR)%$(EXESUF): $(SUBDIR)%.o
- $(CC) $(FFLDFLAGS) -o $$@ $$^ $(SUBDIR)$(LIBNAME) $(FFEXTRALIBS)
+ $(CC) $(FFLDFLAGS) -o $$@ $$^ -l$(FULLNAME) $(FFEXTRALIBS)
$(SUBDIR)%-test.o: $(SUBDIR)%.c
$(CC) $(CFLAGS) -DTEST -c -o $$@ $$^