PATH is required by OpenSSL only

This commit is contained in:
Tatsuhiro Tsujikawa 2022-09-26 15:50:53 +09:00
parent 77449a9477
commit 6d88da58f1
1 changed files with 1 additions and 2 deletions

View File

@ -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