anchor.diff:      && tar xzf openssl.tar.gz \
       && mv openssl-${OPENSSL_VERSION} openssl-src
   
  -# Make android toolchains
  -RUN cd /src \
  -    && android-ndk/build/tools/make_standalone_toolchain.py --arch arm --api 24 --stl libc++ --install-dir android-toolchain-arm \
  -    && android-ndk/build/tools/make_standalone_toolchain.py --arch arm64 --api 24 --stl libc++ --install-dir android-toolchain-arm64 \
  -    && android-ndk/build/tools/make_standalone_toolchain.py --arch x86 --api 24 --stl libc++ --install-dir android-toolchain-x86 \
  -    && android-ndk/build/tools/make_standalone_toolchain.py --arch x86_64 --api 24 --stl libc++ --install-dir android-toolchain-x86_64
  +ENV ANDROID_TOOLCHAIN="/src/android-ndk/toolchains/llvm/prebuilt/linux-x86_64"
  +ENV AR="${ANDROID_TOOLCHAIN}/bin/llvm-ar"
  +ENV LD="${ANDROID_TOOLCHAIN}/bin/ld"
  +ENV RANLIB="${ANDROID_TOOLCHAIN}/bin/llvm-ranlib"
   
   # Build OpenSSL arm
  -RUN export CC=/src/android-toolchain-arm/bin/arm-linux-androideabi-clang \
  -    && export PATH=/src/android-toolchain-arm/arm-linux-androideabi/bin:${PATH} \
  +RUN export CC=${ANDROID_TOOLCHAIN}/bin/armv7a-linux-androideabi19-clang \
  +    && export PATH=${ANDROID_TOOLCHAIN}/bin:${PATH} \
       && cd /src/openssl-src \
       && ./Configure linux-armv4 ${OPENSSL_NO_OPTS} -march=armv7-a -mfpu=neon --prefix=/openssl-arm \
       && make clean \
  
positive.code: RUN echo "cd /src/libtorrent && git checkout -- . && patch -p1 < ifaddr.patch && cd /frostwire-jlibtorrent/swig && ./build-android-arm.sh" > build_android_arm.sh
  RUN chmod +x /build_android_arm.sh
  
  # [BUILD ALL ANDROID ARCHITECTURES]
  RUN echo "cd /src/libtorrent && git checkout -- . && patch -p1 < ifaddr.patch && cd /frostwire-jlibtorrent/swig && ./build-android-arm.sh && ./build-android-arm64.sh && ./build-android-x86.sh && ./build-android-x86_64.sh" > build_android_all.sh
  RUN chmod +x /build_android_all.sh
  
negative.code:     && cd /
  
  # Build OpenSSL arm64
  RUN export CC=${ANDROID_TOOLCHAIN}/bin/aarch64-linux-android21-clang \
      && export PATH=${ANDROID_TOOLCHAIN}/bin:${PATH} \
      && cd /src/openssl-src \
      && ./Configure linux-aarch64 ${OPENSSL_NO_OPTS} -march=armv8-a+crypto -mfpu=neon --prefix=/openssl-arm64 \
      && make clean \
  