-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unbound variable #36
Comments
我想构建ssl.so动态库,执行命令出错: |
尾部加个参数
|
还是有错 |
你得用 export 先设置你自己的环境变量,要指明你本机的 NDK 地址,把 NDK 的路径 export 到环境变量 |
我的ndk环境变量是配置好了的 |
在_shared.sh文件中需要更改第30行吗? 改成这个样子好了: #但是又有一个错:./build-openssl4android.sh: line 25: wget: command not found |
./build-openssl4android.sh: line 25: wget: command not found |
用 brew 安装一个 wget |
在build-openssl4android.sh改一下更好 source ./_shared.sh openssl |
$ sh ./build-openssl4android.sh
./_shared.sh: line 20: 1: unbound variable
if [ "${1}" == "cURL" ]; then // 这是第20行
ANDROID_API=${ANDROID_API:-21}
else
ANDROID_API=${ANDROID_API:-16}
fi
ARCHS=("android" "android-armeabi" "android-x86" "android-mips")
ABIS=("armeabi" "armeabi-v7a" "x86" "mips")
The text was updated successfully, but these errors were encountered: