summaryrefslogtreecommitdiff
path: root/extensions/Library_oleautobridge.mk
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Library_oleautobridge.mk')
-rw-r--r--extensions/Library_oleautobridge.mk8
1 files changed, 1 insertions, 7 deletions
diff --git a/extensions/Library_oleautobridge.mk b/extensions/Library_oleautobridge.mk
index 32467f334b5a..fd1ccb9b5125 100644
--- a/extensions/Library_oleautobridge.mk
+++ b/extensions/Library_oleautobridge.mk
@@ -59,15 +59,9 @@ $(eval $(call gb_Library_use_system_win32_libs,oleautobridge,\
))
ifeq ($(COM),MSC)
-ifneq ($(USE_DEBUG_RUNTIME),)
$(eval $(call gb_Library_add_libs,oleautobridge,\
- $(ATL_LIB)/atlsd.lib \
+ $(ATL_LIB)/$(if $(MSVC_USE_DEBUG_RUNTIME),atlsd.lib,atls.lib) \
))
-else
-$(eval $(call gb_Library_add_libs,oleautobridge,\
- $(ATL_LIB)/atls.lib \
-))
-endif
endif
$(eval $(call gb_Library_add_exception_objects,oleautobridge,\