gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 138/151: winbuild: Document CURL_STATICLIB requirement for stati


From: gnunet
Subject: [gnurl] 138/151: winbuild: Document CURL_STATICLIB requirement for static libcurl
Date: Fri, 20 Dec 2019 14:27:27 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit b0a9e3c28c3c6bac8e201fcf327de5ba26a92a38
Author: Jay Satiro <address@hidden>
AuthorDate: Sun Dec 15 17:31:23 2019 -0500

    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
---
 winbuild/BUILD.WINDOWS.txt | 6 ++++++
 1 file changed, 6 insertions(+)

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

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]