windows: revert change to ldebug

ea90ca8666 ("Move some infra bits of
lib/krb5/ to lib/base/ (2)") inappropriately altered the declaration
of the "ldebug" macro which stores the switches passed to "link.exe".
There is no "/RELEASE" switch and the "/DEBUG" switch instructs the
linker to produce files containing debug symbols (.pdb) which are
required for generating the Windows assemblies.

This change restores the prior behavior.

Change-Id: I61b8fd4759ba84671858f7c8275dbd25af1638e6
This commit is contained in:
Jeffrey Altman
2020-05-25 14:32:25 -04:00
committed by Nicolas Williams
parent 3074561796
commit 6bdbf3ca27

View File

@@ -164,7 +164,7 @@ cdefines=$(cdefines) -DHAVE_CONFIG_H
# Windows CNG provider
cdefines=$(cdefines) -DHCRYPTO_DEF_PROVIDER=w32crypto
cdebug=$(cdebug) /Zi
ldebug=$(ldebug) /RELEASE
ldebug=$(ldebug) /DEBUG
localcflags=$(localcflags) /Oy-
# Disable warnings: