diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-04-11 14:43:19 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-04-15 15:26:32 +0200 |
commit | 3b65852f37f1c8daf8c5c0af1d810c68cc71d8e3 (patch) | |
tree | e724da7f17cffec4a5e68897c8e34857dd8bf354 /setup_native/Library_sellangmsi.mk | |
parent | configure: find the MSVC debug runtime libraries (diff) | |
download | core-3b65852f37f1c8daf8c5c0af1d810c68cc71d8e3.tar.gz core-3b65852f37f1c8daf8c5c0af1d810c68cc71d8e3.zip |
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
Diffstat (limited to 'setup_native/Library_sellangmsi.mk')
-rw-r--r-- | setup_native/Library_sellangmsi.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup_native/Library_sellangmsi.mk b/setup_native/Library_sellangmsi.mk index 8411acd8d2ad..2979f1e6d31d 100644 --- a/setup_native/Library_sellangmsi.mk +++ b/setup_native/Library_sellangmsi.mk @@ -18,7 +18,7 @@ $(eval $(call gb_Library_add_defs,sellangmsi,\ )) $(eval $(call gb_Library_add_cxxflags,sellangmsi,\ - /MT \ + $(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \ )) $(eval $(call gb_Library_add_ldflags,sellangmsi,\ |