Fix opencv detection.

This commit changes the ".so" argument placement in check_ld sub-program.
(cherry picked from commit a003c5bd4f)
This commit is contained in:
Jonas Bechtel
2013-01-13 21:45:15 +01:00
committed by Carl Eugen Hoyos
parent 30f0cd2f1e
commit 397fafad23

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)