external/python3/ExternalPackage_python3.mk | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 86c53eb59a6ada104358c9dbe3b50dac71af2dcc Author: Andras Timar <andras.ti...@collabora.com> AuthorDate: Tue May 31 07:37:20 2022 +0000 Commit: Andras Timar <andras.ti...@collabora.com> CommitDate: Thu Feb 9 12:08:24 2023 +0000 fix internal python build on powerpc64le-unknown-linux-gnu Change-Id: I49c1368542a1af5dbbf377dbd8cb0cad8c6e2a38 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135174 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Andras Timar <andras.ti...@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146689 Tested-by: Jenkins diff --git a/external/python3/ExternalPackage_python3.mk b/external/python3/ExternalPackage_python3.mk index ee97cb341505..1f29c9efbebb 100644 --- a/external/python3/ExternalPackage_python3.mk +++ b/external/python3/ExternalPackage_python3.mk @@ -141,6 +141,11 @@ endif endif # that one is generated... +ifeq ($(HOST_PLATFORM),powerpc64le-unknown-linux-gnu) +$(eval $(call gb_ExternalPackage_add_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib,\ + LO_lib/_sysconfigdata_$(if $(ENABLE_DBGUTIL),d)_linux_powerpc64le-linux-gnu.py \ +)) +else # note: python configure overrides config.guess with something that doesn't # put -pc in its linux platform triplets, so filter that... ifneq ($(OS),WNT) @@ -154,6 +159,7 @@ $(eval $(call gb_ExternalPackage_add_files,python3,$(LIBO_BIN_FOLDER)/python-cor )) endif endif +endif # packages not shipped: