OSDN Git Service

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 6eae5bf..a4f8d57 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 $< $@