diff options
author | Robin Gareus <robin@gareus.org> | 2015-03-07 10:54:37 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-03-07 10:54:37 +0100 |
commit | 3dac4b760bc3642ad35c69c6cd5e99573489a8a3 (patch) | |
tree | 20962278ac1f8e88c6ef2818b81f266915e0f832 /wscript | |
parent | 13bad670facd14ab63dccb8b1a0f1c7b8498e6bf (diff) |
fix linux detection
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -973,11 +973,11 @@ def configure(conf): print("Coreaudio backend is only available for OSX") sys.exit(1) - if sys.platform == 'linux' and conf.env['BUILD_WAVESBACKEND']: + if re.search ("linux", sys.platform) != None and conf.env['BUILD_WAVESBACKEND']: print("Waves Backend is not for Linux") sys.exit(1) - if sys.platform != 'linux' and conf.env['BUILD_ALSABACKEND']: + if re.search ("linux", sys.platform) == None and conf.env['BUILD_ALSABACKEND']: print("ALSA Backend is only available on Linux") sys.exit(1) |