summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-23 15:56:55 +0100
committerwm4 <wm4@nowhere>2015-02-23 15:56:55 +0100
commit78fb7cbf4d2d406ec19052f8ab321830f46990e9 (patch)
tree9a8a8cdc4d5c65e9bd1a869d58ede7f7d9245a58 /wscript
parent1ecd9727f0e3df68c6be9955b759547a34a0b79f (diff)
downloadmpv-78fb7cbf4d2d406ec19052f8ab321830f46990e9.tar.bz2
mpv-78fb7cbf4d2d406ec19052f8ab321830f46990e9.tar.xz
wscript: adjust some pkg-config checks
Make the version a separate argument, like in all other pkg-config checks.
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index 334d6cc43d..98c0eb33bf 100644
--- a/wscript
+++ b/wscript
@@ -83,7 +83,7 @@ build_options = [
}, {
'name': '--test',
'desc': 'test suite (using cmocka)',
- 'func': check_pkg_config('cmocka >= 0.4.1'),
+ 'func': check_pkg_config('cmocka', '>= 0.4.1'),
}, {
'name': '--clang-database',
'desc': 'generate a clang compilation database',
@@ -532,7 +532,7 @@ audio_output_features = [
}, {
'name': '--alsa',
'desc': 'ALSA audio output',
- 'func': check_pkg_config('alsa >= 1.0.18'),
+ 'func': check_pkg_config('alsa', '>= 1.0.18'),
}, {
'name': '--coreaudio',
'desc': 'CoreAudio audio output',