diff options
| author | Anton Yabchinskiy | 2014-11-20 03:15:45 +0300 |
|---|---|---|
| committer | Anton Yabchinskiy | 2014-11-22 13:37:50 +0300 |
| commit | c26a1b9d7b9ad82d782c574087054b4c49b28821 (patch) | |
| tree | bd821f69d4b84fb076e82014286df45b11ae9d34 /platform/x11/detect.py | |
| parent | 540b95f5b0076570b60ed5e6c7815e472225e1b3 (diff) | |
| download | godot-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.py | 5 |
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"]) |
