diff --git a/sal/Executable_cppunittester.mk b/sal/Executable_cppunittester.mk index 959b3cd8be47..6c52197b22ce 100644 --- a/sal/Executable_cppunittester.mk +++ b/sal/Executable_cppunittester.mk @@ -28,7 +28,7 @@ $(eval $(call gb_Executable_add_exception_objects,cppunittester,\ sal/cppunittester/cppunittester \ )) -ifneq ($(strip $(debug)$(DEBUG)),) +ifneq ($(MSVC_USE_DEBUG_RUNTIME),) $(eval $(call gb_Executable_use_system_win32_libs,cppunittester,\ dbghelp \ ))