静态编译libcurl库

最近项目要用到ftp下载,决定使用libcurl,因为在AIX下,客户机器上肯定没有装libcurl,故需要静态库。configure选项如下

./configure --prefix=$HOME/develop/UD-2009-04-01/open_sources/curl --without-ssl --disable-shared

--disable-shared 选项是关键。

原文地址:https://www.cnblogs.com/logicbaby/p/2024690.html