aboutsummaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorJuan Linietsky2015-12-08 20:36:48 -0300
committerJuan Linietsky2015-12-08 20:36:48 -0300
commit708ff381d6c7bc189cad35c7e144fcec7b8936c3 (patch)
treee7aaf115417c6210f568fe788f50d5cc45fbcd27 /platform
parent78b5404434eefce497ef9d49e25645afcda93710 (diff)
downloadgodot-708ff381d6c7bc189cad35c7e144fcec7b8936c3.tar.gz
godot-708ff381d6c7bc189cad35c7e144fcec7b8936c3.tar.zst
godot-708ff381d6c7bc189cad35c7e144fcec7b8936c3.zip
changed a bit to use system()
Diffstat (limited to 'platform')
-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 38076762e..0f6e640b0 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().find('Linux')>=0:
+ if platform.system() == 'Linux':
env.Append(CPPFLAGS=["-DALSA_ENABLED"])
env.Append(LIBS=['asound'])