diff options
-rw-r--r-- | desktop/Executable_loader2.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/desktop/Executable_loader2.mk b/desktop/Executable_loader2.mk index ae0a0195c0db..02d10f7c20e2 100644 --- a/desktop/Executable_loader2.mk +++ b/desktop/Executable_loader2.mk @@ -42,11 +42,17 @@ $(eval $(call gb_Executable_add_linked_libs,loader2,\ user32 \ )) -ifneq ($(COM),GCC) +ifeq ($(COM),MSC) +ifeq ($(gb_PRODUCT),) +$(eval $(call gb_Executable_add_linked_libs,loader2,\ + libcmtd \ +)) +else $(eval $(call gb_Executable_add_linked_libs,loader2,\ libcmt \ )) endif +endif $(eval $(call gb_Executable_add_exception_objects,loader2,\ desktop/win32/source/setup/setup_main \ |