summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--basic/CppunitTest_basic_vba.mk15
1 files changed, 5 insertions, 10 deletions
diff --git a/basic/CppunitTest_basic_vba.mk b/basic/CppunitTest_basic_vba.mk
index b34318604923..8b8d7adba89f 100644
--- a/basic/CppunitTest_basic_vba.mk
+++ b/basic/CppunitTest_basic_vba.mk
@@ -57,16 +57,11 @@ $(eval $(call gb_CppunitTest_use_api,basic_vba,\
$(eval $(call gb_CppunitTest_use_ure,basic_vba))
-ifeq ($(OS),WNT)
-$(eval $(call gb_CppunitTest_use_components,basic_vba,\
- configmgr/source/configmgr \
- i18npool/util/i18npool \
- extensions/source/ole/oleautobridge \
-))
-else
$(eval $(call gb_CppunitTest_use_components,basic_vba,\
- configmgr/source/configmgr \
- i18npool/util/i18npool \
+ configmgr/source/configmgr \
+ i18npool/util/i18npool \
+ $(if $(filter $(OS),WNT), \
+ extensions/source/ole/oleautobridge) \
))
-endif
+
$(eval $(call gb_CppunitTest_use_configuration,basic_vba))