summaryrefslogtreecommitdiff
path: root/android-configure
diff options
context:
space:
mode:
authorEvan Lucas <evanlucas@me.com>2015-08-22 22:40:41 -0500
committerEvan Lucas <evanlucas@me.com>2015-08-24 15:58:25 -0500
commitecb840c14a020d77a45a71dab1a308a741ae1258 (patch)
tree73692888988758de9ebe64ad8b86185aaa5d97d5 /android-configure
parentcaa0d0c0a761cdcc516cd9b7a214e5f05526bb9e (diff)
downloadandroid-node-v8-ecb840c14a020d77a45a71dab1a308a741ae1258.tar.gz
android-node-v8-ecb840c14a020d77a45a71dab1a308a741ae1258.tar.bz2
android-node-v8-ecb840c14a020d77a45a71dab1a308a741ae1258.zip
build: use required platform in android-configure
The introduction of libuv 1.6.0 broke the android-configure script by not specifying the correct platform. uv_os_homedir uses getpwuid_r which was not made public until API level 21 on android. The regression was introduced in a804026...b5cd2f0 PR-URL: https://github.com/nodejs/node/pull/2501 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'android-configure')
-rwxr-xr-xandroid-configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/android-configure b/android-configure
index af47aa3a7d..5cdfa70bba 100755
--- a/android-configure
+++ b/android-configure
@@ -6,7 +6,7 @@ $1/build/tools/make-standalone-toolchain.sh \
--toolchain=arm-linux-androideabi-4.9 \
--arch=arm \
--install-dir=$TOOLCHAIN \
- --platform=android-9
+ --platform=android-21
export PATH=$TOOLCHAIN/bin:$PATH
export AR=$TOOLCHAIN/bin/arm-linux-androideabi-ar
export CC=$TOOLCHAIN/bin/arm-linux-androideabi-gcc