diff options
author | Måns Rullgård <mans@mansr.com> | 2007-06-19 01:27:51 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2007-06-19 01:27:51 +0000 |
commit | 3155a644a69cda08739ed57f22c5ce443a80d657 (patch) | |
tree | ddf280f49a88d5d7e9b5167b930cab43d98c0112 | |
parent | ff5a6541bd3508c38dc0e823094aaa7e02feed70 (diff) | |
download | ffmpeg-streaming-3155a644a69cda08739ed57f22c5ce443a80d657.zip ffmpeg-streaming-3155a644a69cda08739ed57f22c5ce443a80d657.tar.gz |
place -l flags after object files in check_ld()
Originally committed as revision 9367 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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(){ |