You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
332 B
17 lines
332 B
#!/bin/bash
|
|
|
|
###
|
|
# DONT USE IT
|
|
###
|
|
CC=clang
|
|
TOOLCHAINS_PATH=$(python ../../../../utils/ndk_toolchains_path.py --ndk ${ANDROID_NDK})
|
|
export OLD_PATH=$PATH
|
|
export PATH=$TOOLCHAINS_PATH/bin:$PATH
|
|
|
|
ARCHITECTURE=$1
|
|
ANDROID_API=$2
|
|
echo $3
|
|
|
|
./Configure ${ARCHITECTURE} -D__ANDROID_API__=$ANDROID_API --prefix=$3
|
|
|
|
export PATH=$OLD_PATH
|
|
|