aboutsummaryrefslogtreecommitdiff
path: root/platform/x11/detect.py
diff options
context:
space:
mode:
authorAnton Yabchinskiy2014-11-20 03:15:45 +0300
committerAnton Yabchinskiy2014-11-22 13:37:50 +0300
commitc26a1b9d7b9ad82d782c574087054b4c49b28821 (patch)
treebd821f69d4b84fb076e82014286df45b11ae9d34 /platform/x11/detect.py
parent540b95f5b0076570b60ed5e6c7815e472225e1b3 (diff)
downloadgodot-c26a1b9d7b9ad82d782c574087054b4c49b28821.tar.gz
godot-c26a1b9d7b9ad82d782c574087054b4c49b28821.tar.zst
godot-c26a1b9d7b9ad82d782c574087054b4c49b28821.zip
Use libao driver on X11 platform
Diffstat (limited to 'platform/x11/detect.py')
-rw-r--r--platform/x11/detect.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py
index 1c8d231d4..d879354f7 100644
--- a/platform/x11/detect.py
+++ b/platform/x11/detect.py
@@ -111,6 +111,11 @@ def configure(env):
env.ParseConfig('pkg-config freetype2 --cflags --libs')
env.Append(CCFLAGS=['-DFREETYPE_ENABLED'])
+
+ if env['ao'] == 'yes':
+ env.ParseConfig('pkg-config ao --cflags --libs')
+ env.Append(CPPFLAGS=['-DAO_ENABLED'])
+
env.Append(CPPFLAGS=['-DOPENGL_ENABLED','-DGLEW_ENABLED'])
env.Append(CPPFLAGS=["-DALSA_ENABLED"])