gnunet-svn
[Top][All Lists]
Advanced

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

[gnurl] 103/151: winbuild: Define CARES_STATICLIB when WITH_CARES=static


From: gnunet
Subject: [gnurl] 103/151: winbuild: Define CARES_STATICLIB when WITH_CARES=static
Date: Fri, 20 Dec 2019 14:26:52 +0100

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 476a8320945243c80bdf3b161232511442d8dc49
Author: Andrew Ishchuk <address@hidden>
AuthorDate: Mon Dec 9 16:00:20 2019 +0500

    winbuild: Define CARES_STATICLIB when WITH_CARES=static
    
    When libcurl is built with MODE=static, c-ares is forced into static
    linkage too. That doesn't happen when MODE=dll so linker would break
    over undefined symbols.
    
    closes https://github.com/curl/curl/pull/4688
---
 winbuild/MakefileBuild.vc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/winbuild/MakefileBuild.vc b/winbuild/MakefileBuild.vc
index 6f34257c5..4e39be66f 100644
--- a/winbuild/MakefileBuild.vc
+++ b/winbuild/MakefileBuild.vc
@@ -222,6 +222,9 @@ CARES          = static
 
 !IFDEF USE_CARES
 CARES_CFLAGS   = /DUSE_ARES /I"$(CARES_INC_DIR)"
+!IF "$(CARES)"=="static"
+CARES_CFLAGS   = $(CARES_CFLAGS) /DCARES_STATICLIB
+!ENDIF
 !ENDIF
 
 

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



reply via email to

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