Commit 7e75f9fe authored by Mans Rullgard's avatar Mans Rullgard
Browse files

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: default avatarMans Rullgard <>
parent 7f0e747b
......@@ -641,7 +641,7 @@ check_ld(){
test "${f}" = "${f#-l}" && flags="$flags $f" || libs="$libs $f"
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment