Merge pull request #1699 from napi-rs/fix-android-ranlib
fix(cli): set RANLIB while building android targets
This commit is contained in:
commit
0cd8dd2c46
1 changed files with 1 additions and 0 deletions
|
@ -376,6 +376,7 @@ class Builder {
|
|||
CC: `${ANDROID_NDK_LATEST_HOME}/toolchains/llvm/prebuilt/${hostPlatform}-x86_64/bin/${targetArch}-linux-${targetPlatform}-clang`,
|
||||
CXX: `${ANDROID_NDK_LATEST_HOME}/toolchains/llvm/prebuilt/${hostPlatform}-x86_64/bin/${targetArch}-linux-${targetPlatform}-clang++`,
|
||||
AR: `${ANDROID_NDK_LATEST_HOME}/toolchains/llvm/prebuilt/${hostPlatform}-x86_64/bin/llvm-ar`,
|
||||
RANLIB: `${ANDROID_NDK_LATEST_HOME}/toolchains/llvm/prebuilt/${hostPlatform}-x86_64/bin/llvm-ranlib`,
|
||||
ANDROID_NDK: ANDROID_NDK_LATEST_HOME,
|
||||
PATH: `${ANDROID_NDK_LATEST_HOME}/toolchains/llvm/prebuilt/${hostPlatform}-x86_64/bin:${process.env.PATH}`,
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue