提交 2a194acd 编写于 作者: M Måns Rullgård

configure: pass extra flags to check_cc from check_ld

Originally committed as revision 21264 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 ade5b91d
...@@ -601,12 +601,12 @@ check_yasm(){ ...@@ -601,12 +601,12 @@ check_yasm(){
check_ld(){ check_ld(){
log check_ld "$@" log check_ld "$@"
check_cc || return
flags='' flags=''
libs='' libs=''
for f; do for f; do
test "${f}" = "${f#-l}" && flags="$flags $f" || libs="$libs $f" test "${f}" = "${f#-l}" && flags="$flags $f" || libs="$libs $f"
done 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 $extralibs $libs
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册