Move the EXTRALIBS to the end of the link line where they actually get used!
authorPhilip Gladstone <philipjsg@users.sourceforge.net>
Thu, 9 May 2002 01:04:19 +0000 (01:04 +0000)
committerPhilip Gladstone <philipjsg@users.sourceforge.net>
Thu, 9 May 2002 01:04:19 +0000 (01:04 +0000)
Originally committed as revision 452 to svn://svn.ffmpeg.org/ffmpeg/trunk

Makefile

index 6eae5bf555908e731964f83e80a164578570aa7b..a4f8d579df848b0d405e40489dae389250d3bef2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -39,10 +39,10 @@ lib:
        $(MAKE) -C libav all
 
 ffmpeg$(EXE): ffmpeg.o libav/libav.a $(DEP_FFMPEG_LIB)
-       $(CC) $(LDFLAGS) $(EXTRALIBS) -o $@ $^ $(FFMPEG_LIB)
+       $(CC) $(LDFLAGS) -o $@ $^ $(FFMPEG_LIB) $(EXTRALIBS)
 
 ffserver$(EXE): ffserver.o libav/libav.a $(DEP_FFMPEG_LIB)
-       $(CC) $(LDFLAGS) $(EXTRALIBS) -o $@ $^ $(FFMPEG_LIB)
+       $(CC) $(LDFLAGS) -o $@ $^ $(FFMPEG_LIB) $(EXTRALIBS)
 
 ffplay: ffmpeg$(EXE)
        ln -sf $< $@