summaryrefslogtreecommitdiff
path: root/android/build.py
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-02-09 22:22:44 +0100
committerMax Kellermann <max@musicpd.org>2018-02-10 00:03:23 +0100
commite0ca4b865a2dcb581c90cff66e919b30312b45da (patch)
tree7ac5173af38d3a612e563a492f4463a68010182d /android/build.py
parent31c206bf80b85a033aa9dfbc6e56ac738c611e19 (diff)
android: require SDK version 14
Closes #213.
Diffstat (limited to 'android/build.py')
-rwxr-xr-xandroid/build.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/build.py b/android/build.py
index 328b02edf..3e2e71dcc 100755
--- a/android/build.py
+++ b/android/build.py
@@ -46,7 +46,7 @@ class AndroidNdkToolchain:
self.ndk_arch = 'arm'
android_abi = 'armeabi-v7a'
- ndk_platform = 'android-21'
+ ndk_platform = 'android-14'
# select the NDK compiler
gcc_version = '4.9'
@@ -87,7 +87,7 @@ class AndroidNdkToolchain:
self.cppflags = '--sysroot=' + sysroot + \
' -isystem ' + os.path.join(install_prefix, 'include') + \
' -isystem ' + os.path.join(sysroot, 'usr', 'include', arch) + \
- ' -D__ANDROID_API__=21'
+ ' -D__ANDROID_API__=14'
self.ldflags = '--sysroot=' + sysroot + \
' -L' + os.path.join(install_prefix, 'lib') + \
' -L' + os.path.join(target_root, 'usr', 'lib') + \