Skip to content

Commit ecb840c

Browse files
committed
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: nodejs#2501 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
1 parent caa0d0c commit ecb840c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

android-configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ $1/build/tools/make-standalone-toolchain.sh \
66
--toolchain=arm-linux-androideabi-4.9 \
77
--arch=arm \
88
--install-dir=$TOOLCHAIN \
9-
--platform=android-9
9+
--platform=android-21
1010
export PATH=$TOOLCHAIN/bin:$PATH
1111
export AR=$TOOLCHAIN/bin/arm-linux-androideabi-ar
1212
export CC=$TOOLCHAIN/bin/arm-linux-androideabi-gcc

0 commit comments

Comments
 (0)