summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/x11/detect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py
index 349e58cd7a..38076762e8 100644
--- a/platform/x11/detect.py
+++ b/platform/x11/detect.py
@@ -148,7 +148,7 @@ def configure(env):
env.Append(CPPFLAGS=['-DOPENGL_ENABLED','-DGLEW_ENABLED'])
- if platform.platform() == 'Linux':
+ if platform.platform().find('Linux')>=0:
env.Append(CPPFLAGS=["-DALSA_ENABLED"])
env.Append(LIBS=['asound'])