summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 2762e4cc6f05..973ebc518f66 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -2877,8 +2877,8 @@ endef
# Better duplication with gb_Gallery__UNO_COMPONENTS than nothing.
# This is used to determine what we need for 'build' platform.
-define gb_Executable__register_gengal.bin
-$(call gb_Executable_add_runtime_dependencies,gengal.bin,\
+define gb_Executable__register_gengal_impl
+$(call gb_Executable_add_runtime_dependencies,$(1),\
$(foreach component, \
comphelper/util/comphelp \
configmgr/source/configmgr \
@@ -2908,6 +2908,12 @@ $(call gb_Executable_add_runtime_dependencies,gengal.bin,\
)
endef
+ifeq ($(OS),WNT)
+gb_Executable__register_gengal = $(call gb_Executable__register_gengal_impl,gengal)
+else
+gb_Executable__register_gengal.bin = $(call gb_Executable__register_gengal_impl,gengal.bin)
+endif
+
ifneq ($(SYSTEM_ICU),YES)
define gb_Executable__register_gendict