aboutsummaryrefslogtreecommitdiff
path: root/winbuild
diff options
context:
space:
mode:
authorAdam Marcionek <amarcionek@seven10storage.com>2018-01-29 11:41:11 -0500
committerDaniel Stenberg <daniel@haxx.se>2018-01-30 08:12:18 +0100
commita406e86ecbfbc1a9bf7a558aaa2b62578992e875 (patch)
treecf01d28561767007ff5c1f62b9cfc284a2114a17 /winbuild
parentfecec1d8aefb3cc89925cffb83d4de6bc95540bb (diff)
winbuild: make linker generate proper PDB
Link.exe requires /DEBUG to properly generate a full pdb file on release builds. Closes #2274
Diffstat (limited to 'winbuild')
-rw-r--r--winbuild/MakefileBuild.vc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winbuild/MakefileBuild.vc b/winbuild/MakefileBuild.vc
index 32790ff86..b6d29ce21 100644
--- a/winbuild/MakefileBuild.vc
+++ b/winbuild/MakefileBuild.vc
@@ -68,7 +68,7 @@ LNKDLL = link.exe /DLL
LNKLIB = link.exe /lib
CFLAGS_PDB = /Zi
-LFLAGS_PDB = /incremental:no /opt:ref,icf
+LFLAGS_PDB = /incremental:no /opt:ref,icf /DEBUG
CFLAGS_LIBCURL_STATIC = /DCURL_STATICLIB