aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJonas Bechtel <bechtel@linux-gbm7.(none)>2013-01-13 21:45:15 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-01-18 10:32:49 +0100
commit397fafad230a7d4f2d2c0908ae56418318e82148 (patch)
treeb41868e593a582cefc0eee2655e6ce8841eb7708 /configure
parent30f0cd2f1e760b085b5288d62e4de23955829c49 (diff)
downloadffmpeg-397fafad230a7d4f2d2c0908ae56418318e82148.tar.gz
Fix opencv detection.
This commit changes the ".so" argument placement in check_ld sub-program. (cherry picked from commit a003c5bd4ff1846edba0518306f8091c14041c96)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 4e4fbab03d..4dd265f502 100755
--- a/configure
+++ b/configure
@@ -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)