提交 7e75f9fe 编写于 作者: M 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: NMans Rullgard <mans@mansr.com>
上级 7f0e747b
......@@ -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(){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册