mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
winbuild: Document CURL_STATICLIB requirement for static libcurl
A static libcurl (ie winbuild mode=static) requires that the user define CURL_STATICLIB when using it in their application. This is already covered in the FAQ and INSTALL.md, but is a pretty important point so now it's noted in the BUILD.WINDOWS.txt as well. Assisted-by: Michael Vittiglio Closes https://github.com/curl/curl/pull/4721
This commit is contained in:
parent
1d2d3feb21
commit
b0a9e3c28c
@ -114,6 +114,12 @@ already built but not with that option, or if the option was specified
|
||||
differently, you must destroy the build directory containing the configuration
|
||||
so that nmake can build it from scratch.
|
||||
|
||||
Building your own application with a static libcurl
|
||||
===================================================
|
||||
When building an application that uses the static libcurl library on Windows,
|
||||
you must define CURL_STATICLIB. Otherwise the linker will look for dynamic
|
||||
import symbols.
|
||||
|
||||
Legacy Windows and SSL
|
||||
======================
|
||||
When you build curl using the build files in this directory the default SSL
|
||||
|
Loading…
Reference in New Issue
Block a user