logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>
commit: 71ff0a0481992c79347a57f622f3f091a985f67a
parent c936c9c2b61dca47f78278213ed4162da6e3bb27
Author: Googulator <netrolller.3d@gmail.com>
Date:   Fri,  2 Aug 2024 15:09:45 +0200

Merge pull request #478 from mid-kid/master

Enable _ctypes and dynamic linking for python

Diffstat:

Msteps/SHA256SUMS.pkgs2+-
Msteps/python-3.11.1/files/Setup.local2+-
Msteps/python-3.11.1/pass1.sh4+---
3 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/steps/SHA256SUMS.pkgs b/steps/SHA256SUMS.pkgs @@ -109,7 +109,7 @@ b5d86ddc98cfbc684b03f1c84c786caaad810d5e4c7be38089f324eb3c276ad9 python-2.0.1_1 80d8fcaf68c82238ddffb120b62fbc20d58bd9e2416cba080547a9f442e9e229 python-2.5.6_0.tar.bz2 3508248f299b73c50e3607c4c294d40face05170476a5026b0821aed69025863 python-3.1.5_0.tar.bz2 12b1ffc7ec98ba8f807160b93ba69a694d5395567c3bcac1e49e8f8d1d50de43 python-3.1.5_1.tar.bz2 -d6a7d3a109f63cd5ed4feaa772c33e272e570e216346ee90f6ca365d3a951615 python-3.11.1_0.tar.bz2 +abadb0d4d55d42ce722b4da96a075fa46b9b133112d619a9eda32a95c5a14945 python-3.11.1_0.tar.bz2 60b93253a2078f849f81e7e1ed6233e30702f03b1893640eee95671d814f5514 python-3.3.7_0.tar.bz2 da7c8ec579dd225c0d8bee63d95aeeb27ac2d5a60d4eefe298508cbf86bf506c python-3.4.10_0.tar.bz2 af7a8334045fed8bd610b19194c0b46aa670070fc4738c34449ba5e93e49db8a python-3.8.16_0.tar.bz2 diff --git a/steps/python-3.11.1/files/Setup.local b/steps/python-3.11.1/files/Setup.local @@ -76,7 +76,7 @@ termios termios.c # Modules that require external libraries. #_bz2 _bz2module.c -lbz2 -#_ctypes _ctypes/_ctypes.c _ctypes/callbacks.c _ctypes/callproc.c _ctypes/stgdict.c _ctypes/cfield.c -ldl -lffi -DHAVE_FFI_PREP_CIF_VAR -DHAVE_FFI_PREP_CLOSURE_LOC -DHAVE_FFI_CLOSURE_ALLOC +_ctypes _ctypes/_ctypes.c _ctypes/callbacks.c _ctypes/callproc.c _ctypes/stgdict.c _ctypes/cfield.c -ldl -lffi -DHAVE_FFI_PREP_CIF_VAR -DHAVE_FFI_PREP_CLOSURE_LOC -DHAVE_FFI_CLOSURE_ALLOC # The _dbm module supports NDBM, GDBM with compat module, and Berkeley DB. #_dbm _dbmmodule.c -lgdbm_compat -DUSE_GDBM_COMPAT #_gdbm _gdbmmodule.c -lgdbm diff --git a/steps/python-3.11.1/pass1.sh b/steps/python-3.11.1/pass1.sh @@ -54,14 +54,12 @@ src_configure() { MACHDEP=linux ac_sys_system=Linux \ CPPFLAGS="-U__DATE__ -U__TIME__" \ PKG_CONFIG_PATH="${LIBDIR}/pkgconfig/" \ - LDFLAGS="-static" \ ./configure \ --build=i386-unknown-linux-musl \ --host=i386-unknown-linux-musl \ --prefix="${PREFIX}" \ --libdir="${LIBDIR}" \ - --with-system-ffi \ - --disable-shared + --with-system-ffi } src_compile() {