Commit 916352f2 authored by Alexis Ballier's avatar Alexis Ballier Committed by Michael Niedermayer

configure: do not quote arguments passed to filter{,_out} in check_ld.

This fixes the following error:
./configure: eval: line 417: syntax error near unexpected token `-lcdio_cdda'
[...]
Broken by 66a1ccd7 when doing, e.g., ./configure --enable-gpl --enable-libcdio.
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 35daf3ca
......@@ -769,8 +769,8 @@ check_ld(){
log check_ld "$@"
type=$1
shift 1
flags=$(filter_out '-l*' "$@")
libs=$(filter '-l*' "$@")
flags=$(filter_out '-l*' $@)
libs=$(filter '-l*' $@)
check_$type $($cflags_filter $flags) || return
flags=$($ldflags_filter $flags)
libs=$($ldflags_filter $libs)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment