Skip to content
Snippets Groups Projects
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 <mans@mansr.com>
parent 7f0e747b
No related branches found
No related tags found
No related merge requests found
......@@ -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(){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment