summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-05 23:27:14 +0100
committerwm4 <wm4@nowhere>2014-01-05 23:27:14 +0100
commit917374a7bfaa90233c239aca18968e6454fc8bc2 (patch)
treed1dd749e10507a3cd523a366d7f511ee15ec946f /wscript
parent7c425fb71f89fca945363fb49007a5a70e824016 (diff)
downloadmpv-917374a7bfaa90233c239aca18968e6454fc8bc2.tar.bz2
mpv-917374a7bfaa90233c239aca18968e6454fc8bc2.tar.xz
build: don't depend on both libavresample and libswresample
When both libavresample and libswresample were detected, the script enabled both at the same time. This is not supported; although nothing bad happened apparently. Make the dependencies both mutually exclusive.
Diffstat (limited to 'wscript')
-rw-r--r--wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript b/wscript
index eda8d4f7c1..143a88a94e 100644
--- a/wscript
+++ b/wscript
@@ -335,6 +335,7 @@ Libav libraries ({0}). Aborting.".format(" ".join(libav_pkg_config_checks))
'name': '--libswresample',
'desc': 'libswresample',
'func': check_pkg_config('libswresample', '>= 0.17.102'),
+ 'deps_neg': ['libavresample'],
}, {
'name': 'resampler',
'desc': 'usable resampler found',