交叉编译openssl
下载地址:https://github.com/openssl/openssl
我下载的版本是:wget https://github.com/openssl/openssl/archive/OpenSSL_1_1_1-pre8.tar.gz
解压,配置(创建shell脚本方便配置)
#!/bin/sh
./config \
shared \
no-asm \
--prefix=/opt/sdk_for_A7/rootfs/usr \
CROSS_COMPILE=arm-linux-gnueabihf-
修改Makefile:去掉-m64
编译
make
make install