aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-03-25 19:26:10 +0000
committerMans Rullgard <mans@mansr.com>2011-03-25 19:36:32 +0000
commit7e75f9fe5e53707e0609691d6cc2ca8cd015f132 (patch)
tree7d6b09c1013f02811946e67c21a7ff9875cc71a8 /configure
parent7f0e747b8c2f732ea40c4cc072fe5a3c25ec3799 (diff)
downloadffmpeg-7e75f9fe5e53707e0609691d6cc2ca8cd015f132.tar.gz
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@mansr.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 9b5d8552ce..8e2961c8b3 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(){