Create shared libs correctly, fix mingw build
authorMåns Rullgård <mans@mansr.com>
Wed, 20 May 2009 18:37:34 +0000 (18:37 +0000)
committerMåns Rullgård <mans@mansr.com>
Wed, 20 May 2009 18:37:34 +0000 (18:37 +0000)
Originally committed as revision 18884 to svn://svn.ffmpeg.org/ffmpeg/trunk

subdir.mak

index 332816e..f7d719a 100644 (file)
@@ -54,7 +54,7 @@ $(SUBDIR)$(SLIBNAME): $(SUBDIR)$(SLIBNAME_WITH_MAJOR)
 
 $(SUBDIR)$(SLIBNAME_WITH_MAJOR): $(OBJS)
        $(SLIB_CREATE_DEF_CMD)
-       $(CC) $(SHFLAGS) $(FFLDFLAGS) -o $$@ $$(filter-out $(DEP_LIBS),$$^) $(FFEXTRALIBS) $(EXTRAOBJS)
+       $(CC) $(SHFLAGS) $(FFLDFLAGS) -o $$@ $$(filter %.o,$$^) $(FFEXTRALIBS) $(EXTRAOBJS)
        $(SLIB_EXTRA_CMD)
 
 ifdef SUBDIR