From 78fb7cbf4d2d406ec19052f8ab321830f46990e9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 23 Feb 2015 15:56:55 +0100 Subject: wscript: adjust some pkg-config checks Make the version a separate argument, like in all other pkg-config checks. --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wscript') 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', -- cgit v1.2.3