wscript: adjust some pkg-config checks

Make the version a separate argument, like in all other pkg-config
checks.
This commit is contained in:
wm4 2015-02-23 15:56:55 +01:00
parent 1ecd9727f0
commit 78fb7cbf4d
1 changed files with 2 additions and 2 deletions

View File

@ -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',