mirror of https://git.ffmpeg.org/ffmpeg.git
Merge commit '66a1ccd7467ab1913cd8877114c6d4c2588bb12f'
* commit '66a1ccd7467ab1913cd8877114c6d4c2588bb12f': configure: simplify argument handling in check_ld Conflicts: configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
d15be9108e
|
@ -763,11 +763,8 @@ check_ld(){
|
|||
log check_ld "$@"
|
||||
type=$1
|
||||
shift 1
|
||||
flags=''
|
||||
libs=''
|
||||
for f; do
|
||||
test "${f}" = "${f#-l}" && flags="$flags $f" || libs="$libs $f"
|
||||
done
|
||||
flags=$(filter_out '-l*' "$@")
|
||||
libs=$(filter '-l*' "$@")
|
||||
check_$type $($cflags_filter $flags) || return
|
||||
flags=$($ldflags_filter $flags)
|
||||
libs=$($ldflags_filter $libs)
|
||||
|
|
Loading…
Reference in New Issue