Skip to content

Commit

Permalink
build: use required platform in android-configure
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
evanlucas committed Aug 24, 2015
1 parent caa0d0c commit ecb840c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android-configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ecb840c

Please sign in to comment.