Skip to content
Snippets Groups Projects
Commit a003c5bd authored by Jonas Bechtel's avatar Jonas Bechtel Committed by Carl Eugen Hoyos
Browse files

Fix opencv detection.

This commit changes the ".so" argument placement in check_ld sub-program.
parent d270c320
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment