Add ANDROID_NDK_HOME env variable and enable openssl

Add ANDROID_NDK_HOME env variable and enable openssl

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
2021-08-27 13:13:48 +02:00
parent 6385842e94
commit 8bc72c75d3
5 changed files with 8 additions and 4 deletions

View File

@ -4,6 +4,7 @@ RUN apt-get update && apt-get install -y unzip
ENV CROSS_TRIPLE=x86_64-linux-android
ENV CROSS_ROOT=/usr/${CROSS_TRIPLE}
ENV ANDROID_NDK_HOME=${CROSS_ROOT}
ENV AS=${CROSS_ROOT}/bin/llvm-as \
AR=${CROSS_ROOT}/bin/llvm-ar \
CC=${CROSS_ROOT}/bin/clang \