Fix opencv detection.

This commit changes the ".so" argument placement in check_ld sub-program.
This commit is contained in:
Jonas Bechtel 2013-01-13 21:45:15 +01:00 committed by Carl Eugen Hoyos
parent d270c32025
commit a003c5bd4f

4
configure vendored
View File

@ -789,8 +789,8 @@ check_ld(){
log check_ld "$@"
type=$1
shift 1
flags=$(filter_out '-l*' $@)
libs=$(filter '-l*' $@)
flags=$(filter_out '-l*|*.so' $@)
libs=$(filter '-l*|*.so' $@)
check_$type $($cflags_filter $flags) || return
flags=$($ldflags_filter $flags)
libs=$($ldflags_filter $libs)