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 14b2729..421a355 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