Browse Source

place -l flags after object files in check_ld()

Originally committed as revision 9367 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Måns Rullgård 18 years ago
parent
commit
3155a644a6
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      configure

+ 6
- 1
configure View File

@@ -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(){


Loading…
Cancel
Save