From 86c53eb59a6ada104358c9dbe3b50dac71af2dcc Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Tue, 31 May 2022 07:37:20 +0000 Subject: [PATCH] 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 Reviewed-by: Andras Timar Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146689 Tested-by: Jenkins --- external/python3/ExternalPackage_python3.mk | 6 ++++++ 1 file changed, 6 insertions(+) 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: