This is an automated email from the ASF dual-hosted git repository.

ardovm pushed a commit to branch python3-linux
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit b0bc83fb798fedfd03b1bd7f521f631833cc94be
Author: Arrigo Marchiori <[email protected]>
AuthorDate: Sun Jul 5 16:54:29 2026 +0200

    Fix installation of the python module under Linux
    
    Explicitly name the possible _sysconfigdata_XXX.py files.
    Copy the cpython include subdirectory.
---
 main/python/prj/d.lst | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/main/python/prj/d.lst b/main/python/prj/d.lst
index 3a8d7d22c6..875a75943f 100644
--- a/main/python/prj/d.lst
+++ b/main/python/prj/d.lst
@@ -60,11 +60,15 @@ mkdir: %_DEST%\lib%_EXT%\python\python3.11\config
 ..\%__SRC%\misc\build\Python-3.11.15\Makefile 
%_DEST%\lib%_EXT%\python\python3.11\config\Makefile
 # TODO: _sysconfigdata filename is platform-mangled (e.g. 
_sysconfigdata__darwin_darwin.py on macOS,
 # _sysconfigdata__linux_x86_64-linux-gnu.py on Linux). Verify exact name from 
built tree.
-..\%__SRC%\misc\build\python-inst\lib\python3.11\_sysconfigdata*.py 
%_DEST%\lib%_EXT%\python\_sysconfigdata.py
+..\%__SRC%\misc\build\python-inst\lib\python3.11\_sysconfigdata__darwin_darwin.py
 %_DEST%\lib%_EXT%\python\_sysconfigdata.py
+..\%__SRC%\misc\build\python-inst\lib\python3.11\_sysconfigdata__linux_x86_64-linux-gnu.py
 %_DEST%\lib%_EXT%\python\_sysconfigdata.py
 ..\pyversion.mk %_DEST%\inc%_EXT%\pyversion.mk
 ..\pyversion_dmake.mk %_DEST%\inc%_EXT%\pyversion_dmake.mk
 
+mkdir: %_DEST%\inc%_EXT%\python\cpython
+
 ..\%__SRC%\misc\build\Python-3.11.15\Include\* %_DEST%\inc%_EXT%\python\*
+..\%__SRC%\misc\build\Python-3.11.15\Include\cpython\* 
%_DEST%\inc%_EXT%\python\cpython\*
 
 #unix ONLY !
 ..\%__SRC%\misc\build\python-inst\bin\python %_DEST%\bin%_EXT%\python

Reply via email to