diff options
author | Anton Yabchinskiy <arn@bestmx.ru> | 2014-11-22 17:43:20 +0300 |
---|---|---|
committer | Anton Yabchinskiy <arn@bestmx.ru> | 2014-11-22 17:43:20 +0300 |
commit | e696dba522b3f4b9a3d3bc8ec3d6a09123d9ee50 (patch) | |
tree | 5330cf56871f8c5ba593a502739ce1c6cbfc2d94 /platform/x11/detect.py | |
parent | 7ed9a8a007044bf90cb7e6677598e20fc1abc121 (diff) | |
parent | e58731ee0146be1ccc365ff0e6dadafcdacb0c0e (diff) |
Merge branch 'libao'
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 e2c84182b4..2faaf51716 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -112,6 +112,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']) if platform.platform() == 'Linux': |