diff options
author | Joel Depooter <joel.depooter@gmail.com> | 2019-09-22 13:03:18 -0700 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-09-23 09:15:00 +0200 |
commit | 96a3ab7bc8fcf731322e6d141f5eb8e4ad856e1a (patch) | |
tree | b93279f3738cc3621c6c685ae256814cb47a27db /winbuild | |
parent | 41db01a39f88d05f43344d0ea1d1b588b3441403 (diff) | |
download | curl-96a3ab7bc8fcf731322e6d141f5eb8e4ad856e1a.tar.gz |
winbuild: Add manifest to curl.exe for proper OS version detection
This is a small fix to commit ebd213270a017a6830928ee2e1f4a9cabc799898
in pull request #1221. That commit added the CURL_EMBED_MANIFEST flag to
CURL_RC_FLAGS. However, later in the file CURL_RC_FLAGS is
overwritten. The fix is to append values to CURL_RC_FLAGS instead of
overwriting
Closes #4399
Diffstat (limited to 'winbuild')
-rw-r--r-- | winbuild/MakefileBuild.vc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winbuild/MakefileBuild.vc b/winbuild/MakefileBuild.vc index 8d68b3184..5cc16501b 100644 --- a/winbuild/MakefileBuild.vc +++ b/winbuild/MakefileBuild.vc @@ -393,11 +393,11 @@ CFGSET = true !IF "$(DEBUG)"=="yes"
RC_FLAGS = /dDEBUGBUILD=1 /Fo $@ $(LIBCURL_SRC_DIR)\libcurl.rc
CURL_CC = $(CC_DEBUG) $(RTLIB_DEBUG)
-CURL_RC_FLAGS = /i../include /dDEBUGBUILD=1 /Fo $@ $(CURL_SRC_DIR)\curl.rc
+CURL_RC_FLAGS = $(CURL_RC_FLAGS) /i../include /dDEBUGBUILD=1 /Fo $@ $(CURL_SRC_DIR)\curl.rc
!ELSE
RC_FLAGS = /dDEBUGBUILD=0 /Fo $@ $(LIBCURL_SRC_DIR)\libcurl.rc
CURL_CC = $(CC_NODEBUG) $(RTLIB)
-CURL_RC_FLAGS = /i../include /dDEBUGBUILD=0 /Fo $@ $(CURL_SRC_DIR)\curl.rc
+CURL_RC_FLAGS = $(CURL_RC_FLAGS) /i../include /dDEBUGBUILD=0 /Fo $@ $(CURL_SRC_DIR)\curl.rc
!ENDIF
!IF "$(AS_DLL)" == "true"
|