external/python3/ExternalPackage_python3.mk |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 72ac7b4f3508a2275f896ab5da046d2464d615d4
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:17:54 2023 +0100

    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>

diff --git a/external/python3/ExternalPackage_python3.mk 
b/external/python3/ExternalPackage_python3.mk
index 9987ab138792..e84b5394a277 100644
--- a/external/python3/ExternalPackage_python3.mk
+++ b/external/python3/ExternalPackage_python3.mk
@@ -143,6 +143,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)
@@ -156,6 +161,7 @@ $(eval $(call 
gb_ExternalPackage_add_files,python3,$(LIBO_BIN_FOLDER)/python-cor
 ))
 endif
 endif
+endif
 
 
 # packages not shipped:

Reply via email to