From 3b65852f37f1c8daf8c5c0af1d810c68cc71d8e3 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Thu, 11 Apr 2013 14:43:19 +0200 Subject: gbuild: add support for building against MSVC debug runtime Mainly this means using /MDd instead of /MD and /MTd instead of /MT in the CFLAGS, and also re-mapping of .lib files to ones with "d". Change-Id: Ifc56b53a66d5eb522c1695a34d68b08cad1d8338 --- embedserv/Library_emser.mk | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'embedserv') diff --git a/embedserv/Library_emser.mk b/embedserv/Library_emser.mk index a4377f424ec5..5e30bf883362 100644 --- a/embedserv/Library_emser.mk +++ b/embedserv/Library_emser.mk @@ -58,15 +58,9 @@ $(eval $(call gb_Library_use_system_win32_libs,emser,\ uuid \ )) -ifeq ($(USE_DEBUG_RUNTIME),) $(eval $(call gb_Library_add_libs,emser,\ - $(ATL_LIB)/atls.lib \ + $(ATL_LIB)/$(if $(MSVC_USE_DEBUG_RUNTIME),atlsd.lib,atls.lib) \ )) -else -$(eval $(call gb_Library_add_libs,emser,\ - $(ATL_LIB)/atlsd.lib \ -)) -endif $(eval $(call gb_Library_add_ldflags,emser,\ -LIBPATH:$(ATL_LIB) \ -- cgit v1.2.3