Browse Source

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>
v4.0.0-rc
Evan Lucas 9 years ago
parent
commit
ecb840c14a
  1. 2
      android-configure

2
android-configure

@ -6,7 +6,7 @@ $1/build/tools/make-standalone-toolchain.sh \
--toolchain=arm-linux-androideabi-4.9 \ --toolchain=arm-linux-androideabi-4.9 \
--arch=arm \ --arch=arm \
--install-dir=$TOOLCHAIN \ --install-dir=$TOOLCHAIN \
--platform=android-9 --platform=android-21
export PATH=$TOOLCHAIN/bin:$PATH export PATH=$TOOLCHAIN/bin:$PATH
export AR=$TOOLCHAIN/bin/arm-linux-androideabi-ar export AR=$TOOLCHAIN/bin/arm-linux-androideabi-ar
export CC=$TOOLCHAIN/bin/arm-linux-androideabi-gcc export CC=$TOOLCHAIN/bin/arm-linux-androideabi-gcc

Loading…
Cancel
Save