diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2019-12-15 17:31:23 -0500 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2019-12-15 17:31:23 -0500 |
commit | b0a9e3c28c3c6bac8e201fcf327de5ba26a92a38 (patch) | |
tree | 0a23413af1093a4a19d90d87c8986d79147467e8 /winbuild | |
parent | 1d2d3feb21c4c34789a51072915f6b709072074d (diff) | |
download | curl-b0a9e3c28c3c6bac8e201fcf327de5ba26a92a38.tar.gz |
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
Diffstat (limited to 'winbuild')
-rw-r--r-- | winbuild/BUILD.WINDOWS.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/winbuild/BUILD.WINDOWS.txt b/winbuild/BUILD.WINDOWS.txt index 1ede14f01..0e88e6449 100644 --- a/winbuild/BUILD.WINDOWS.txt +++ b/winbuild/BUILD.WINDOWS.txt @@ -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
|