From 8975fb62122250440e9bc00c6e985e3a708473bb Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 16 Mar 2016 15:32:44 +0100 Subject: DLL object files should not be built with /Zl" When building the DLLs, we depend on the correct default C RTL info. Reviewed-by: Matt Caswell --- Configurations/10-main.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index f9c838c259..e2fcf0c1c8 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -1238,7 +1238,9 @@ sub vc_wince_info { cc => "cl", cflags => "-W3 -wd4090 -Gs0 -GF -Gy -nologo -DOPENSSL_SYS_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE", coutflag => "/Fo", - lib_cflags => "/Zl /Zi /Fdlib", + lib_cflags => sub { join(" ", + ($disabled{shared} ? "/Zl" : ()), + "/Zi /Fdlib") }, dso_cflags => "/Zi", bin_cflags => "/Zi /Fdapp", lflags => add("/debug"), -- cgit v1.2.3