cherishman2005 / rtc_tools

rtc ffmpeg
3 stars 0 forks source link

linux编译出libcurl.a #17

Closed cherishman2005 closed 3 years ago

cherishman2005 commented 3 years ago

1、下载curl源码

wget --no-check-certificate https://curl.haxx.se/download/curl-7.66.0.tar.gz

2、解压,配置

tar -zxvf ./curl-7.66.0.tar.gz

解压后跳到解压目录里面,执行:

./configure --without-zlib --without-ssl --disable-shared

3、 make编译

编译测试 等make结果,会在相对目录./lib/.libs里面生成libcurl.a

cherishman2005 commented 3 years ago

https://zhuanlan.zhihu.com/p/86307842