aboutsummaryrefslogtreecommitdiff
path: root/platform/x11/detect.py
diff options
context:
space:
mode:
authorJuan Linietsky2015-12-08 20:35:40 -0300
committerJuan Linietsky2015-12-08 20:35:40 -0300
commit78b5404434eefce497ef9d49e25645afcda93710 (patch)
treefbe6394b1cad3525f286ded86ffa681d5168be49 /platform/x11/detect.py
parent428984ec0cfbbf190d88b4a2ff4cb3587a51c309 (diff)
downloadgodot-78b5404434eefce497ef9d49e25645afcda93710.tar.gz
godot-78b5404434eefce497ef9d49e25645afcda93710.tar.zst
godot-78b5404434eefce497ef9d49e25645afcda93710.zip
improve detection of linux, fixes #3201
Diffstat (limited to 'platform/x11/detect.py')
-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 349e58cd7..38076762e 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'])