mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
place -l flags after object files in check_ld()
Originally committed as revision 9367 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ff5a6541bd
commit
3155a644a6
7
configure
vendored
7
configure
vendored
@ -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…
Reference in New Issue
Block a user