[SCM] libav/experimental: Remove other shared lib names from linker command line for shared libs

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:33:18 UTC 2013


The following commit has been merged in the experimental branch:
commit 93c021a242eb061e9eca8758de4935d210bea570
Author: Måns Rullgård <mans at mansr.com>
Date:   Sat Dec 13 15:31:30 2008 +0000

    Remove other shared lib names from linker command line for shared libs
    
    Originally committed as revision 16103 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/subdir.mak b/subdir.mak
index 7c38b77..df5bb8a 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

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list