mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-04-04 13:09:15 +02: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
|
LD=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-ld
|
||||||
|
|
||||||
ENV ANDROID_NDK_REVISION 13b
|
ENV ANDROID_NDK_REVISION 13b
|
||||||
|
ENV ANDROID_NDK_API 16
|
||||||
RUN mkdir -p /build && \
|
RUN mkdir -p /build && \
|
||||||
cd /build && \
|
cd /build && \
|
||||||
curl -O https://dl.google.com/android/repository/android-ndk-r${ANDROID_NDK_REVISION}-linux-x86_64.zip && \
|
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} && \
|
cd android-ndk-r${ANDROID_NDK_REVISION} && \
|
||||||
./build/tools/make_standalone_toolchain.py \
|
./build/tools/make_standalone_toolchain.py \
|
||||||
--arch arm \
|
--arch arm \
|
||||||
--api 16 \
|
--api $(ANDROID_NDK_API) \
|
||||||
--stl=libc++ \
|
--stl=libc++ \
|
||||||
--install-dir=${CROSS_ROOT} && \
|
--install-dir=${CROSS_ROOT} && \
|
||||||
cd / && \
|
cd / && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user