[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - RepositoryExternal.mk solenv/gbuild
Michael Stahl
mstahl at redhat.com
Mon Aug 3 09:14:22 PDT 2015
RepositoryExternal.mk | 5 +++++
solenv/gbuild/LinkTarget.mk | 8 ++++++++
2 files changed, 13 insertions(+)
New commits:
commit f8176e86ccdd7c0b2fa8bc059872e0bcd8bec401
Author: Michael Stahl <mstahl at redhat.com>
Date: Wed Jul 29 10:56:57 2015 +0200
RepositoryExternal.mk: missing dependency on python3 package
This was causing all these "libpython3.3m.so: file not recognized: File
truncated" failures.
(cherry picked from commit 57dd4d01c1ba036e5da4abf986b8d594d0ccdb95)
RepositoryExternal.mk: for some reason Mac wants a GeneratedPackage
(cherry picked from commit d9162d24ce242f27f9cc0430f0650daac8e5db24)
Change-Id: Ib814ab4fa43d9c8f20cf9b16ad04e1a71057e595
Reviewed-on: https://gerrit.libreoffice.org/17396
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos at collabora.co.uk>
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 7b70da8..e6dd9be 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -3081,6 +3081,11 @@ endef
define gb_LinkTarget__use_python
$(call gb_LinkTarget__use_python_headers,$(1))
+ifeq ($(OS),MACOSX)
+$(call gb_LinkTarget_use_generated_package,$(1),python3)
+else
+$(call gb_LinkTarget_use_package,$(1),python3)
+endif
ifeq ($(OS),WNT)
$(call gb_LinkTarget_add_libs,$(1),\
diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk
index f9cfab7..333c6c8 100644
--- a/solenv/gbuild/LinkTarget.mk
+++ b/solenv/gbuild/LinkTarget.mk
@@ -1313,6 +1313,14 @@ define gb_LinkTarget_use_packages
$(foreach package,$(2),$(call gb_LinkTarget_use_package,$(1),$(package)))
endef
+# use a GeneratedPackage, possibly from another module
+# call gb_LinkTarget_use_generated_package,linktarget,package
+define gb_LinkTarget_use_generated_package
+$(call gb_LinkTarget_get_headers_target,$(1)) :| \
+ $(call gb_GeneratedPackage_get_target,$(strip $(2)))
+
+endef
+
# Use sources from unpacked tarball of an external project
# call gb_LinkTarget_use_unpacked,linktarget,unpackedtarget
define gb_LinkTarget_use_unpacked
More information about the Libreoffice-commits
mailing list