[Ffmpeg-cvslog] r6849 - trunk/configure

lu_zero subversion
Tue Oct 31 16:09:36 CET 2006


Author: lu_zero
Date: Tue Oct 31 16:09:36 2006
New Revision: 6849

Modified:
   trunk/configure

Log:
Make sure --as-needed and the other flags got checked as the last thing, workarounds linking checks issues due broken system libraries

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Tue Oct 31 16:09:36 2006
@@ -459,6 +459,7 @@
 ffplay="yes"
 LIBOBJFLAGS=""
 FFLDFLAGS=-Wl,--warn-common
+LDLATEFLAGS='-Wl,-rpath-link,\$(BUILD_ROOT)/libavcodec -Wl,-rpath-link,\$(BUILD_ROOT)/libavformat -Wl,-rpath-link,\$(BUILD_ROOT)/libavutil'
 FFSERVERLDFLAGS=-Wl,-E
 LDCONFIG="ldconfig"
 LIBPREF="lib"
@@ -618,7 +619,7 @@
 SHFLAGS='-shared -Wl,--out-implib=lib$(NAME).dll.a'
 ;;
 Linux)
-check_ldflags '-Wl,--as-needed'
+LDLATEFLAGS="-Wl,--as-needed $LDLATEFLAGS"
 ;;
 IRIX*)
 targetos=IRIX
@@ -1520,7 +1521,7 @@
 check_cflags -Winline
 
 # add some linker flags
-check_ldflags '-Wl,-rpath-link,\$(BUILD_ROOT)/libavcodec' '-Wl,-rpath-link,\$(BUILD_ROOT)/libavformat' '-Wl,-rpath-link,\$(BUILD_ROOT)/libavutil'
+check_ldflags $LDLATEFLAGS
 
 # not all compilers support -Os
 test "$optimize" = "small" && check_cflags -Os




More information about the ffmpeg-cvslog mailing list