mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-07 20:05:24 +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
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue