summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2013-05-16 09:17:57 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2013-05-16 12:44:20 +0200
commitbae52ee3ef48d58deb6d7ff312b3f3db20c9c0f2 (patch)
tree72e55ea9cd66c111659d722415604c9d35d19724 /RepositoryExternal.mk
parentc7b883498cb47a7d2a330057dbcd7f74f87a0184 (diff)
fix cross-compilation of Galleries
- RepositoryModule_build: add modules necessary to build gengal and libraries used at run-time - add dependencies to gb_Executable__register_gengal.bin - use gb_Helper_OUTDIR_FOR_BUILDLIBDIR Change-Id: I4a88c1786b1ee2ee2b75b1a5dd75009ef70ed353
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 705aacb965fd..042512f11cde 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -2860,8 +2860,25 @@ $(call gb_Executable_add_runtime_dependencies,climaker,\
)
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,\
+ $(foreach component, \
+ comphelper/util/comphelp \
+ configmgr/source/configmgr \
+ fileaccess/source/fileacc \
+ framework/util/fwk \
+ i18npool/util/i18npool \
+ package/source/xstor/xstor \
+ package/util/package2 \
+ sfx2/util/sfx \
+ svx/util/svx \
+ svx/util/svxcore \
+ ucb/source/core/ucb1 \
+ ucb/source/ucp/file/ucpfile1 \
+ unoxml/source/service/unoxml \
+ ,$(call gb_ComponentTarget_get_outdir_target_for_build,$(component))) \
$(call gb_AllLangResTarget_get_target,ofa) \
$(call gb_Configuration_get_target,registry) \
$(call gb_Configuration_get_target,fcfg_langpack) \