passman-android/openssl.conf.example

14 строки
493 B
Bash

#!/bin/bash
if [[ -z $ANDROID_HOME ]]; then
export ANDROID_HOME=$HOME/Android/Sdk
fi
export ANDROID_NDK_HOME=$ANDROID_HOME/ndk/21.4.7075529
export HOST_TAG=linux-x86_64 # darwin-x86_64 / linux-x86_64 / windows / windows-x86_64
export MIN_SDK_VERSION=21
export CFLAGS="-Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables"
export LDFLAGS="-Wl,-s -Wl,-Bsymbolic -Wl,--gc-sections"
export THREADS=12 # Number of threads to use while compiling openssl