]> granicus.if.org Git - curl/commitdiff
winbuild: make linker generate proper PDB
authorAdam Marcionek <amarcionek@seven10storage.com>
Mon, 29 Jan 2018 16:41:11 +0000 (11:41 -0500)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 30 Jan 2018 07:12:18 +0000 (08:12 +0100)
Link.exe requires /DEBUG to properly generate a full pdb file on release
builds.

Closes #2274

winbuild/MakefileBuild.vc

index 32790ff86d9b15e0e39e043e6694009ed08a385a..b6d29ce21c0997a4cd1d5c015e43ccd1f8c30d8f 100644 (file)
@@ -68,7 +68,7 @@ LNKDLL     = link.exe /DLL
 LNKLIB     = link.exe /lib\r
 \r
 CFLAGS_PDB = /Zi\r
-LFLAGS_PDB = /incremental:no /opt:ref,icf\r
+LFLAGS_PDB = /incremental:no /opt:ref,icf /DEBUG\r
 \r
 CFLAGS_LIBCURL_STATIC  = /DCURL_STATICLIB\r
 \r