Keep -L flags before corresponding -l flags.
authorDiego Biurrun <diego@biurrun.de>
Fri, 23 Nov 2007 11:41:01 +0000 (11:41 +0000)
committerDiego Biurrun <diego@biurrun.de>
Fri, 23 Nov 2007 11:41:01 +0000 (11:41 +0000)
Originally committed as revision 11083 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/Makefile

index 14b2729fdeade341c6db5bb9dfaf6a57a9ab02eb..421a3558e8f1704ace1af3549847bd81867b1541 100644 (file)
@@ -157,7 +157,7 @@ OBJS-$(CONFIG_LIBNUT_MUXER)              += libnut.o riff.o
 OBJS-$(CONFIG_VHOOK)                     += framehook.o
 
 EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) \
-             -lavcodec$(BUILDSUF) -L$(BUILD_ROOT)/libavcodec $(EXTRALIBS)
+             -L$(BUILD_ROOT)/libavcodec -lavcodec$(BUILDSUF) $(EXTRALIBS)
 
 # protocols I/O
 OBJS+= avio.o aviobuf.o