summaryrefslogtreecommitdiff
path: root/subdir.mak
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2008-12-13 15:31:30 +0000
committerMåns Rullgård <mans@mansr.com>2008-12-13 15:31:30 +0000
commit93c021a242eb061e9eca8758de4935d210bea570 (patch)
tree6c9af97d4a9011199141757f16dfd61418f6c0fc /subdir.mak
parent89641463a17aaa3fcbd07aaee13f76504b7d9581 (diff)
Remove other shared lib names from linker command line for shared libs
Originally committed as revision 16103 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 7c38b77619..df5bb8a09a 100644
--- a/subdir.mak
+++ b/subdir.mak
@@ -29,7 +29,7 @@ $(SUBDIR)$(SLIBNAME): $(SUBDIR)$(SLIBNAME_WITH_MAJOR)
$(SUBDIR)$(SLIBNAME_WITH_MAJOR): $(OBJS)
$(SLIB_CREATE_DEF_CMD)
- $(CC) $(SHFLAGS) $(FFLDFLAGS) -o $$@ $$^ $(FFEXTRALIBS) $(EXTRAOBJS)
+ $(CC) $(SHFLAGS) $(FFLDFLAGS) -o $$@ $$(filter-out $(DEP_LIBS),$$^) $(FFEXTRALIBS) $(EXTRAOBJS)
$(SLIB_EXTRA_CMD)
ifdef SUBDIR