mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
fix linux detection
This commit is contained in:
parent
13bad670fa
commit
3dac4b760b
1 changed files with 2 additions and 2 deletions
4
wscript
4
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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue