Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Doing a static build curl, but curl don't link static libraries. #503
I am doing a static build curl, but curl don't link static libraries, it link dynamic library. libtool does not use parameters -static. What should I do?
I can reproduce that here. libtool strips
However I can do it by overriding
It will depend on Windows system DLLs like wldap, ws2_32 etc, but there shouldn't be any third party dependences if and only if there are static versions available of those dependencies. For example I have OpenSSL both static and dynamic libs installed, same for zlib. And curl.exe was built with the static zlib and openssl via this method.
This also makes libcurl a static library libcurl.a, but if you want to link it in your program then you're going to have to use