From f8cabb2edbd6281e7f9b61ab5df24c7e585dcdff Mon Sep 17 00:00:00 2001 From: "Nadav.Ruskin" Date: Thu, 15 Mar 2018 08:46:43 +0100 Subject: [PATCH] Added ANDROID_NDK_API --- android-arm/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/android-arm/Dockerfile b/android-arm/Dockerfile index badcfa1..ab02782 100644 --- a/android-arm/Dockerfile +++ b/android-arm/Dockerfile @@ -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 / && \