[FFmpeg-cvslog] r9367 - trunk/configure

mru subversion
Tue Jun 19 03:27:51 CEST 2007


Author: mru
Date: Tue Jun 19 03:27:51 2007
New Revision: 9367

Log:
place -l flags after object files in check_ld()


Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Tue Jun 19 03:27:51 2007
@@ -398,7 +398,12 @@ check_cpp(){
 check_ld(){
     log check_ld "$@"
     check_cc || return
-    check_cmd $cc $LDFLAGS "$@" -o $TMPE $TMPO $extralibs
+    flags=''
+    libs=''
+    for f; do
+        test "${f}" = "${f#-l}" && flags="$flags $f" || libs="$libs $f"
+    done
+    check_cmd $cc $LDFLAGS $flags -o $TMPE $TMPO $extralibs $libs
 }
 
 check_cflags(){




More information about the ffmpeg-cvslog mailing list