Fix opencv detection.
This commit changes the ".so" argument placement in check_ld sub-program.
This commit is contained in:
parent
d270c32025
commit
a003c5bd4f
4
configure
vendored
4
configure
vendored
@ -789,8 +789,8 @@ check_ld(){
|
|||||||
log check_ld "$@"
|
log check_ld "$@"
|
||||||
type=$1
|
type=$1
|
||||||
shift 1
|
shift 1
|
||||||
flags=$(filter_out '-l*' $@)
|
flags=$(filter_out '-l*|*.so' $@)
|
||||||
libs=$(filter '-l*' $@)
|
libs=$(filter '-l*|*.so' $@)
|
||||||
check_$type $($cflags_filter $flags) || return
|
check_$type $($cflags_filter $flags) || return
|
||||||
flags=$($ldflags_filter $flags)
|
flags=$($ldflags_filter $flags)
|
||||||
libs=$($ldflags_filter $libs)
|
libs=$($ldflags_filter $libs)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user