[Ffmpeg-cvslog] r6759 - trunk/configure
lu_zero
subversion
Sun Oct 22 16:47:12 CEST 2006
Author: lu_zero
Date: Sun Oct 22 16:47:12 2006
New Revision: 6759
Modified:
trunk/configure
Log:
use --as-needed just on linux, since *bsd way is broken... (patch from Diego Petten? <flameeyes at gentoo.org>)
Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Sun Oct 22 16:47:12 2006
@@ -618,6 +618,7 @@
SHFLAGS='-shared -Wl,--out-implib=lib$(NAME).dll.a'
;;
Linux)
+check_ldflags '-Wl,--as-needed'
;;
IRIX*)
targetos=IRIX
@@ -1518,7 +1519,7 @@
check_cflags -Winline
# add some linker flags
-check_ldflags '-Wl,--as-needed' '-Wl,-rpath-link,\$(BUILD_ROOT)/libavcodec' '-Wl,-rpath-link,\$(BUILD_ROOT)/libavformat' '-Wl,-rpath-link,\$(BUILD_ROOT)/libavutil'
+check_ldflags '-Wl,-rpath-link,\$(BUILD_ROOT)/libavcodec' '-Wl,-rpath-link,\$(BUILD_ROOT)/libavformat' '-Wl,-rpath-link,\$(BUILD_ROOT)/libavutil'
# not all compilers support -Os
test "$optimize" = "small" && check_cflags -Os
More information about the ffmpeg-cvslog
mailing list