summaryrefslogtreecommitdiff
path: root/external/python3/ExternalPackage_python3.mk
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2022-05-31 07:37:20 +0000
committerAndras Timar <andras.timar@collabora.com>2023-02-09 12:08:24 +0000
commit86c53eb59a6ada104358c9dbe3b50dac71af2dcc (patch)
tree4a8584bd586a38a239d44621202c95ecc22e53c1 /external/python3/ExternalPackage_python3.mk
parentb9516ea478b7df97cd97c48d5462f0e544b6b584 (diff)
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 <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146689 Tested-by: Jenkins
Diffstat (limited to 'external/python3/ExternalPackage_python3.mk')
-rw-r--r--external/python3/ExternalPackage_python3.mk6
1 files changed, 6 insertions, 0 deletions
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: