Commit ee9c1023 authored by mru's avatar mru

place -l flags after object files in check_ld()


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9367 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1511774c
......@@ -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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment