summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-03-03 10:43:52 +0100
committerSebastian Dröge <sebastian@centricular.com>2014-03-03 10:43:52 +0100
commit0c6cffe60b8416a61f54cac9f25a063e61bee2b3 (patch)
treef95da49f2af9397701bd21af0b73c9bf8b7244b1 /config
parente9391e9bd3b827fcba943e9a1d2e9f3089d6f9d9 (diff)
Add support for building for Android on OSX
Diffstat (limited to 'config')
-rw-r--r--config/android.config4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/android.config b/config/android.config
index 960424ed..caf4a45b 100644
--- a/config/android.config
+++ b/config/android.config
@@ -21,7 +21,7 @@ if target_arch == Architecture.ARM or target_arch == Architecture.ARMv7:
_arch = 'arm'
for tc_version in ['4.8', '4.7', '4.6']:
- for tc_arch in ['linux-x86', 'linux-x86_64']:
+ for tc_arch in ['darwin-x86', 'darwin-x86_64', 'linux-x86', 'linux-x86_64']:
tmp = '%s/toolchains/arm-linux-androideabi-%s/prebuilt/%s/bin' % (toolchain_prefix, tc_version, tc_arch)
if os.path.exists(tmp):
toolchain_path = tmp
@@ -33,7 +33,7 @@ elif target_arch == Architecture.X86:
host = "i686-linux-android"
_arch = 'x86'
for tc_version in ['4.8', '4.7', '4.6']:
- for tc_arch in ['linux-x86', 'linux-x86_64']:
+ for tc_arch in ['darwin-x86', 'darwin-x86_64', 'linux-x86', 'linux-x86_64']:
tmp = '%s/toolchains/x86-%s/prebuilt/%s/bin' % (toolchain_prefix, tc_version, tc_arch)
if os.path.exists(tmp):
toolchain_path = tmp