提交 3155a644 编写于 作者: M Måns Rullgård

place -l flags after object files in check_ld()

Originally committed as revision 9367 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 ff5a6541
......@@ -398,7 +398,12 @@ check_cpp(){
check_ld(){
log check_ld "$@"
check_cc || return
check_cmd $cc $LDFLAGS "$@" -o $TMPE $TMPO $extralibs
flags=''
libs=''
for f; do
test "${f}" = "${f#-l}" && flags="$flags $f" || libs="$libs $f"
done
check_cmd $cc $LDFLAGS $flags -o $TMPE $TMPO $extralibs $libs
}
check_cflags(){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册