diff options
author | Mans Rullgard <mans@mansr.com> | 2011-03-25 19:26:10 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-03-25 19:36:32 +0000 |
commit | 7e75f9fe5e53707e0609691d6cc2ca8cd015f132 (patch) | |
tree | 7d6b09c1013f02811946e67c21a7ff9875cc71a8 /configure | |
parent | 7f0e747b8c2f732ea40c4cc072fe5a3c25ec3799 (diff) | |
download | ffmpeg-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-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(){ |