From 6d88da58f193d5310cc579c8792a12bc09a69939 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 26 Sep 2022 15:50:53 +0900 Subject: [PATCH] PATH is required by OpenSSL only --- Dockerfile.android | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile.android b/Dockerfile.android index 542d049a..c789d063 100644 --- a/Dockerfile.android +++ b/Dockerfile.android @@ -27,7 +27,6 @@ ENV LD $TOOLCHAIN/bin/ld ENV RANDLIB $TOOLCHAIN/bin/llvm-ranlib ENV STRIP $TOOLCHAIN/bin/llvm-strip ENV PREFIX /root/usr/local -ENV PATH $TOOLCHAIN/bin:$PATH WORKDIR /root RUN apt-get update && \ @@ -55,7 +54,7 @@ RUN curl -L -O https://www.openssl.org/source/openssl-$OPENSSL_VERSION.tar.gz && rm openssl-$OPENSSL_VERSION.tar.gz WORKDIR /root/build/openssl-$OPENSSL_VERSION -RUN export ANDROID_NDK_HOME=$NDK && \ +RUN export ANDROID_NDK_HOME=$NDK PATH=$TOOLCHAIN/bin:$PATH && \ ./Configure --prefix=$PREFIX android-arm64 && \ make && make install_sw