summaryrefslogtreecommitdiff
path: root/setup_native/Library_shlxtmsi.mk
diff options
context:
space:
mode:
Diffstat (limited to 'setup_native/Library_shlxtmsi.mk')
-rw-r--r--setup_native/Library_shlxtmsi.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup_native/Library_shlxtmsi.mk b/setup_native/Library_shlxtmsi.mk
index 28fcdceb3e27..84fbe72f3741 100644
--- a/setup_native/Library_shlxtmsi.mk
+++ b/setup_native/Library_shlxtmsi.mk
@@ -16,7 +16,7 @@ $(eval $(call gb_Library_add_defs,shlxtmsi,\
))
$(eval $(call gb_Library_add_cxxflags,shlxtmsi,\
- /MT \
+ $(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
))
$(eval $(call gb_Library_add_ldflags,shlxtmsi,\