external/python3/ExternalPackage_python3.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
New commits: commit 92ca747100e082ba30f92e8494db6a7bd37964eb Author: Xisco Fauli <[email protected]> AuthorDate: Thu Mar 27 10:25:59 2025 +0100 Commit: Michael Stahl <[email protected]> CommitDate: Mon Mar 31 11:56:35 2025 +0200 related tdf#162786, tdf#159988: fix arm64 for linux Change-Id: Ia2670b3827880f4aba642390e68ffcc77dc63740 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183371 Reviewed-by: Guillaume Paquereau <[email protected]> Reviewed-by: Xisco Fauli <[email protected]> Tested-by: Jenkins (cherry picked from commit 315febd7ead36519b627bb3d8980b32f393c6062) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183471 Reviewed-by: Michael Stahl <[email protected]> diff --git a/external/python3/ExternalPackage_python3.mk b/external/python3/ExternalPackage_python3.mk index 9b2cf68cd6a8..64f8eb90b573 100644 --- a/external/python3/ExternalPackage_python3.mk +++ b/external/python3/ExternalPackage_python3.mk @@ -58,7 +58,12 @@ $(eval $(call gb_ExternalPackage_add_file,python3,$(LIBO_BIN_FOLDER)/libpython$( # Obviously this list should not contain stuff with external dependencies # that may not be available on baseline systems. -python3_EXTENSION_MODULE_SUFFIX=cpython-$(PYTHON_VERSION_MAJOR)$(PYTHON_VERSION_MINOR)$(if $(ENABLE_DBGUTIL),d)-x86_64-linux-gnu +ifeq ($(CPUNAME),AARCH64) +SOABI=-aarch64-linux-gnu +else +SOABI=-x86_64-linux-gnu +endif +python3_EXTENSION_MODULE_SUFFIX=cpython-$(PYTHON_VERSION_MAJOR)$(PYTHON_VERSION_MINOR)$(if $(ENABLE_DBGUTIL),d)$(SOABI) python3_EXTENSION_MODULES= \ LO_lib/array.$(python3_EXTENSION_MODULE_SUFFIX).so \ LO_lib/_asyncio.$(python3_EXTENSION_MODULE_SUFFIX).so \
