Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

linux编译出libcurl.a #17

Closed
cherishman2005 opened this issue Oct 18, 2021 · 1 comment
Closed

linux编译出libcurl.a #17

cherishman2005 opened this issue Oct 18, 2021 · 1 comment

Comments

@cherishman2005
Copy link
Owner

cherishman2005 commented Oct 18, 2021

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
Copy link
Owner Author

This was referenced May 31, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant