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

New commits:
commit 7cbdc774c90c0160f80e16c6a79abc58ca4b3dee
Author:     Andras Timar <andras.ti...@collabora.com>
AuthorDate: Tue May 31 07:37:20 2022 +0000
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Tue May 31 14:11:58 2022 +0200

    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 dd470ef37f4e..241233914381 100644
--- a/external/python3/ExternalPackage_python3.mk
+++ b/external/python3/ExternalPackage_python3.mk
@@ -142,6 +142,11 @@ $(eval $(call 
gb_ExternalPackage_add_files,python3,$(LIBO_BIN_FOLDER)/python-cor
        LO_lib/_sysconfigdata__freebsd12_.py \
 ))
 else
+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
+endif
 
 
 # packages not shipped:

Reply via email to