diff --git a/configure b/configure index 0a63aaf54a..70f3b8e788 100755 --- a/configure +++ b/configure @@ -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)