Compile Openssl for mac os x

2020-02-24  本文已影响0人  devzhaoyou

编译环境:mac os x 10.15.3openssl-OpenSSL_1_0_2u

生成的是.a静态库

编译命令:

./Configure darwin64-x86_64-cc --prefix=/Users/gezhaoyou/Downloads/openssl-OpenSSL_1_0_2u/output
make && make install

--prefix= 指定编译输出路径

参考:https://wiki.openssl.org/index.php/Compilation_and_Installation

上一篇 下一篇

猜你喜欢

热点阅读