mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-22 08:24:25 +01:00
Added ANDROID_NDK_API
This commit is contained in:
parent
6fb4121ea9
commit
f8cabb2edb
@ -17,6 +17,7 @@ ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \
|
||||
LD=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-ld
|
||||
|
||||
ENV ANDROID_NDK_REVISION 13b
|
||||
ENV ANDROID_NDK_API 16
|
||||
RUN mkdir -p /build && \
|
||||
cd /build && \
|
||||
curl -O https://dl.google.com/android/repository/android-ndk-r${ANDROID_NDK_REVISION}-linux-x86_64.zip && \
|
||||
@ -24,7 +25,7 @@ RUN mkdir -p /build && \
|
||||
cd android-ndk-r${ANDROID_NDK_REVISION} && \
|
||||
./build/tools/make_standalone_toolchain.py \
|
||||
--arch arm \
|
||||
--api 16 \
|
||||
--api $(ANDROID_NDK_API) \
|
||||
--stl=libc++ \
|
||||
--install-dir=${CROSS_ROOT} && \
|
||||
cd / && \
|
||||
|
Loading…
Reference in New Issue
Block a user