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 --- setup_native/Library_regactivex.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup_native/Library_regactivex.mk') diff --git a/setup_native/Library_regactivex.mk b/setup_native/Library_regactivex.mk index 4f561a5084c4..c823d7ce2cc2 100644 --- a/setup_native/Library_regactivex.mk +++ b/setup_native/Library_regactivex.mk @@ -14,7 +14,7 @@ $(eval $(call gb_Library_add_defs,regactivex,\ )) $(eval $(call gb_Library_add_cxxflags,regactivex,\ - /MT \ + $(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \ )) $(eval $(call gb_Library_add_ldflags,regactivex,\ -- cgit