mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-19 17:53:00 +01:00
Enable _ctypes and dynamic linking for python
This commit is contained in:
parent
c936c9c2b6
commit
346d1ce4b2
3 changed files with 3 additions and 5 deletions
|
|
@ -109,7 +109,7 @@ b5d86ddc98cfbc684b03f1c84c786caaad810d5e4c7be38089f324eb3c276ad9 python-2.0.1_1
|
||||||
80d8fcaf68c82238ddffb120b62fbc20d58bd9e2416cba080547a9f442e9e229 python-2.5.6_0.tar.bz2
|
80d8fcaf68c82238ddffb120b62fbc20d58bd9e2416cba080547a9f442e9e229 python-2.5.6_0.tar.bz2
|
||||||
3508248f299b73c50e3607c4c294d40face05170476a5026b0821aed69025863 python-3.1.5_0.tar.bz2
|
3508248f299b73c50e3607c4c294d40face05170476a5026b0821aed69025863 python-3.1.5_0.tar.bz2
|
||||||
12b1ffc7ec98ba8f807160b93ba69a694d5395567c3bcac1e49e8f8d1d50de43 python-3.1.5_1.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
|
60b93253a2078f849f81e7e1ed6233e30702f03b1893640eee95671d814f5514 python-3.3.7_0.tar.bz2
|
||||||
da7c8ec579dd225c0d8bee63d95aeeb27ac2d5a60d4eefe298508cbf86bf506c python-3.4.10_0.tar.bz2
|
da7c8ec579dd225c0d8bee63d95aeeb27ac2d5a60d4eefe298508cbf86bf506c python-3.4.10_0.tar.bz2
|
||||||
af7a8334045fed8bd610b19194c0b46aa670070fc4738c34449ba5e93e49db8a python-3.8.16_0.tar.bz2
|
af7a8334045fed8bd610b19194c0b46aa670070fc4738c34449ba5e93e49db8a python-3.8.16_0.tar.bz2
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@ termios termios.c
|
||||||
# Modules that require external libraries.
|
# Modules that require external libraries.
|
||||||
|
|
||||||
#_bz2 _bz2module.c -lbz2
|
#_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.
|
# The _dbm module supports NDBM, GDBM with compat module, and Berkeley DB.
|
||||||
#_dbm _dbmmodule.c -lgdbm_compat -DUSE_GDBM_COMPAT
|
#_dbm _dbmmodule.c -lgdbm_compat -DUSE_GDBM_COMPAT
|
||||||
#_gdbm _gdbmmodule.c -lgdbm
|
#_gdbm _gdbmmodule.c -lgdbm
|
||||||
|
|
|
||||||
|
|
@ -54,14 +54,12 @@ src_configure() {
|
||||||
MACHDEP=linux ac_sys_system=Linux \
|
MACHDEP=linux ac_sys_system=Linux \
|
||||||
CPPFLAGS="-U__DATE__ -U__TIME__" \
|
CPPFLAGS="-U__DATE__ -U__TIME__" \
|
||||||
PKG_CONFIG_PATH="${LIBDIR}/pkgconfig/" \
|
PKG_CONFIG_PATH="${LIBDIR}/pkgconfig/" \
|
||||||
LDFLAGS="-static" \
|
|
||||||
./configure \
|
./configure \
|
||||||
--build=i386-unknown-linux-musl \
|
--build=i386-unknown-linux-musl \
|
||||||
--host=i386-unknown-linux-musl \
|
--host=i386-unknown-linux-musl \
|
||||||
--prefix="${PREFIX}" \
|
--prefix="${PREFIX}" \
|
||||||
--libdir="${LIBDIR}" \
|
--libdir="${LIBDIR}" \
|
||||||
--with-system-ffi \
|
--with-system-ffi
|
||||||
--disable-shared
|
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue