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 --- extensions/Library_oleautobridge.mk | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'extensions/Library_oleautobridge.mk') diff --git a/extensions/Library_oleautobridge.mk b/extensions/Library_oleautobridge.mk index 32467f334b5a..fd1ccb9b5125 100644 --- a/extensions/Library_oleautobridge.mk +++ b/extensions/Library_oleautobridge.mk @@ -59,15 +59,9 @@ $(eval $(call gb_Library_use_system_win32_libs,oleautobridge,\ )) ifeq ($(COM),MSC) -ifneq ($(USE_DEBUG_RUNTIME),) $(eval $(call gb_Library_add_libs,oleautobridge,\ - $(ATL_LIB)/atlsd.lib \ + $(ATL_LIB)/$(if $(MSVC_USE_DEBUG_RUNTIME),atlsd.lib,atls.lib) \ )) -else -$(eval $(call gb_Library_add_libs,oleautobridge,\ - $(ATL_LIB)/atls.lib \ -)) -endif endif $(eval $(call gb_Library_add_exception_objects,oleautobridge,\ -- cgit