build: use required platform in android-configure
authorEvan Lucas <evanlucas@me.com>
Sun, 23 Aug 2015 03:40:41 +0000 (22:40 -0500)
committerEvan Lucas <evanlucas@me.com>
Mon, 24 Aug 2015 20:58:25 +0000 (15:58 -0500)
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>
android-configure

index af47aa3a7db242f5766a315257254e1b7b186a1b..5cdfa70bbafba7851b22019f37f7fa36bdc3e8af 100755 (executable)
@@ -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