diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-16 13:27:19 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-16 13:27:19 +0200 |
commit | d15be9108e6a17e6fdc224fb8cd2640b825dd408 (patch) | |
tree | b2746f8d3c3c83da929a2e1d5ffec91a5d046497 | |
parent | 9270a2b374eae02c3588ff9a36af298d19f006c8 (diff) | |
parent | 66a1ccd7467ab1913cd8877114c6d4c2588bb12f (diff) | |
download | ffmpeg-d15be9108e6a17e6fdc224fb8cd2640b825dd408.tar.gz |
Merge commit '66a1ccd7467ab1913cd8877114c6d4c2588bb12f'
* commit '66a1ccd7467ab1913cd8877114c6d4c2588bb12f':
configure: simplify argument handling in check_ld
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rwxr-xr-x | configure | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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) |