summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-03-07 10:54:37 +0100
committerRobin Gareus <robin@gareus.org>2015-03-07 10:54:37 +0100
commit3dac4b760bc3642ad35c69c6cd5e99573489a8a3 (patch)
tree20962278ac1f8e88c6ef2818b81f266915e0f832 /wscript
parent13bad670facd14ab63dccb8b1a0f1c7b8498e6bf (diff)
fix linux detection
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index c735a01e75..3de5481e98 100644
--- a/wscript
+++ b/wscript
@@ -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)