mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
configure: pass extra flags to check_cc from check_ld
Originally committed as revision 21264 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ade5b91dda
commit
2a194acd95
2
configure
vendored
2
configure
vendored
@ -601,12 +601,12 @@ check_yasm(){
|
||||
|
||||
check_ld(){
|
||||
log check_ld "$@"
|
||||
check_cc || return
|
||||
flags=''
|
||||
libs=''
|
||||
for f; do
|
||||
test "${f}" = "${f#-l}" && flags="$flags $f" || libs="$libs $f"
|
||||
done
|
||||
check_cc $($filter_cflags $flags) || return
|
||||
check_cmd $ld $LDFLAGS $flags -o $TMPE $TMPO $extralibs $libs
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user