aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-04-15 15:05:53 +0000
committerDiego Biurrun <diego@biurrun.de>2006-04-15 15:05:53 +0000
commit2cf30841b5871a720648cfe53fd89607c496702f (patch)
tree8ec7011ebe35c641f24fb8a7137740b7aaa46c68
parente1ffc3adb8dc533567b8aae25f4f31fcd9d4bf2d (diff)
downloadffmpeg-2cf30841b5871a720648cfe53fd89607c496702f.tar.gz
Have EXTRALIBS appear after other link options, fixes shared build on Cygwin.
based on patch by Marcus Engene, ffmpeg AATT engene DDOOTT se Originally committed as revision 5295 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/Makefile2
-rw-r--r--libavformat/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 42796e493e..d8e246254d 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -293,7 +293,7 @@ OBJS+= liba52/bit_allocate.o liba52/bitstream.o liba52/downmix.o \
endif
endif
-EXTRALIBS += -L../libavutil -lavutil$(BUILDSUF)
+EXTRALIBS := -L../libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
# currently using libdts for dts decoding
ifeq ($(CONFIG_DTS),yes)
diff --git a/libavformat/Makefile b/libavformat/Makefile
index 42bc01f9ec..e5e7efaec6 100644
--- a/libavformat/Makefile
+++ b/libavformat/Makefile
@@ -66,7 +66,7 @@ ifeq ($(CONFIG_AUDIO_OSS),yes)
OBJS+= audio.o
endif
-EXTRALIBS += -L../libavutil -lavutil$(BUILDSUF) -lavcodec$(BUILDSUF) -L../libavcodec
+EXTRALIBS := -L../libavutil -lavutil$(BUILDSUF) -lavcodec$(BUILDSUF) -L../libavcodec $(EXTRALIBS)
ifeq ($(CONFIG_AUDIO_BEOS),yes)
CPPOBJS+= beosaudio.o