gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 107/150: winbuild: Use macros for the names of some


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 107/150: winbuild: Use macros for the names of some build utilities
Date: Fri, 30 Mar 2018 16:49:21 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 5fb70ea17001d328b07ed3f1971870446208054a
Author: Rod Widdowson <address@hidden>
AuthorDate: Fri Feb 23 15:17:09 2018 -0500

    winbuild: Use macros for the names of some build utilities
    
    - Add macros to the top of the makefile for rc and mt utilities so that
      it is easier to change their locations.
    
    Bug: https://curl.haxx.se/mail/lib-2018-02/0075.html
    Reported-by: Stefan Kanthak
    
    Closes https://github.com/curl/curl/issues/2329
---
 winbuild/MakefileBuild.vc | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/winbuild/MakefileBuild.vc b/winbuild/MakefileBuild.vc
index 442888ce7..54160beb1 100644
--- a/winbuild/MakefileBuild.vc
+++ b/winbuild/MakefileBuild.vc
@@ -45,6 +45,11 @@
 
 CFGSET=FALSE
 WINBUILD_DIR=`cd`
+
+# Utilities.
+# If a path is required that contains characters such as space, quote the path.
+MT         = mt.exe
+RC         = rc.exe
 ZIP        = zip.exe
 
 # Allow changing C compiler via environment variable CC (default cl.exe)
@@ -267,7 +272,7 @@ GEN_PDB = true
 
 
 !IFDEF EMBED_MANIFEST
-MANIFESTTOOL = mt -manifest $(DIRDIST)\bin\$(PROGRAM_NAME).manifest 
-outputresource:$(DIRDIST)\bin\$(PROGRAM_NAME);1
+MANIFESTTOOL = $(MT) -manifest $(DIRDIST)\bin\$(PROGRAM_NAME).manifest 
-outputresource:$(DIRDIST)\bin\$(PROGRAM_NAME);1
 !ENDIF
 
 # Runtime library configuration
@@ -496,7 +501,7 @@ $(CURL_DIROBJ):
        $(CURL_CC) $(CFLAGS) /Fo"$@"  $<
 
 $(LIB_DIROBJ)\libcurl.res: $(LIBCURL_SRC_DIR)\libcurl.rc
-       rc $(RC_FLAGS)
+       $(RC) $(RC_FLAGS)
 
 #
 # curl.exe

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



reply via email to

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