diff options
| author | Rémi Verschelde | 2016-10-12 20:37:38 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-10-15 11:50:40 +0200 |
| commit | d9a291f6411f2e571c181da0ac89f550ba73f681 (patch) | |
| tree | a560b8263d9ab896a05087eb20d5eeefdeb89969 /platform/android/detect.py | |
| parent | ee3cf211c6fd4d1e30617467cdbbe945798a68b3 (diff) | |
| download | godot-d9a291f6411f2e571c181da0ac89f550ba73f681.tar.gz godot-d9a291f6411f2e571c181da0ac89f550ba73f681.tar.zst godot-d9a291f6411f2e571c181da0ac89f550ba73f681.zip | |
Diffstat (limited to 'platform/android/detect.py')
| -rw-r--r-- | platform/android/detect.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/android/detect.py b/platform/android/detect.py index 8e9a58da1..9087d5343 100644 --- a/platform/android/detect.py +++ b/platform/android/detect.py @@ -203,7 +203,8 @@ def configure(env): env.Append(CPPFLAGS=['-DANDROID_ENABLED', '-DUNIX_ENABLED', '-DNO_FCNTL','-DMPC_FIXED_POINT']) # env.Append(CPPFLAGS=['-DANDROID_ENABLED', '-DUNIX_ENABLED','-DMPC_FIXED_POINT']) - if(env["opus"]=="yes"): + # TODO: Move that to opus module's config + if("module_opus_enabled" in env and env["module_opus_enabled"] != "no"): if (env["android_arch"]=="armv6" or env["android_arch"]=="armv7"): env.Append(CFLAGS=["-DOPUS_ARM_OPT"]) env.opus_fixed_point="yes" |
