- 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
\r
CFGSET=FALSE\r
WINBUILD_DIR=`cd`\r
+\r
+# Utilities.\r
+# If a path is required that contains characters such as space, quote the path.\r
+MT = mt.exe\r
+RC = rc.exe\r
ZIP = zip.exe\r
\r
# Allow changing C compiler via environment variable CC (default cl.exe)\r
\r
\r
!IFDEF EMBED_MANIFEST\r
-MANIFESTTOOL = mt -manifest $(DIRDIST)\bin\$(PROGRAM_NAME).manifest -outputresource:$(DIRDIST)\bin\$(PROGRAM_NAME);1\r
+MANIFESTTOOL = $(MT) -manifest $(DIRDIST)\bin\$(PROGRAM_NAME).manifest -outputresource:$(DIRDIST)\bin\$(PROGRAM_NAME);1\r
!ENDIF\r
\r
# Runtime library configuration\r
$(CURL_CC) $(CFLAGS) /Fo"$@" $<\r
\r
$(LIB_DIROBJ)\libcurl.res: $(LIBCURL_SRC_DIR)\libcurl.rc\r
- rc $(RC_FLAGS)\r
+ $(RC) $(RC_FLAGS)\r
\r
#\r
# curl.exe\r