aboutsummaryrefslogtreecommitdiff
path: root/platform/android/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde2016-10-12 20:37:38 +0200
committerRémi Verschelde2016-10-30 14:51:31 +0100
commit995dcb610cd5c28bfa0007fd566a619ad512abf2 (patch)
tree22384f7e4530c1ba9f5721a15faaaffb1012613c /platform/android/detect.py
parent55414bc573d7d37e85eff5a7a11a6d72cebe83ba (diff)
downloadgodot-995dcb610cd5c28bfa0007fd566a619ad512abf2.tar.gz
godot-995dcb610cd5c28bfa0007fd566a619ad512abf2.tar.zst
godot-995dcb610cd5c28bfa0007fd566a619ad512abf2.zip
Diffstat (limited to 'platform/android/detect.py')
-rw-r--r--platform/android/detect.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/android/detect.py b/platform/android/detect.py
index a5640f950..a94aae3c2 100644
--- a/platform/android/detect.py
+++ b/platform/android/detect.py
@@ -204,7 +204,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"