[FFmpeg-cvslog] configure: in check_ld, place new -l flags before existing ones

Mans Rullgard git at videolan.org
Sat Mar 26 03:10:00 CET 2011


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Fri Mar 25 19:26:10 2011 +0000| [7e75f9fe5e53707e0609691d6cc2ca8cd015f132] | committer: Mans Rullgard

configure: in check_ld, place new -l flags before existing ones

This fixes some library tests when --as-needed is in effect.

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7e75f9fe5e53707e0609691d6cc2ca8cd015f132
---

 configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index 9b5d855..8e2961c 100755
--- a/configure
+++ b/configure
@@ -641,7 +641,7 @@ check_ld(){
         test "${f}" = "${f#-l}" && flags="$flags $f" || libs="$libs $f"
     done
     check_cc $($filter_cflags $flags) || return
-    check_cmd $ld $LDFLAGS $flags -o $TMPE $TMPO $extralibs $libs
+    check_cmd $ld $LDFLAGS $flags -o $TMPE $TMPO $libs $extralibs
 }
 
 check_cppflags(){




More information about the ffmpeg-cvslog mailing list