mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
Python3: ensure libs are found correctly (from Python2)
Without this patch, Python3:host will not find the zlib module, causing setuptools to fail due to missing zlib compression support.
This commit is contained in:
@@ -83,6 +83,8 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_prog_HAS_HG=/bin/false
|
||||
"
|
||||
|
||||
pre_configure_host() {
|
||||
export PYTHON_MODULES_INCLUDE="$HOST_INCDIR"
|
||||
export PYTHON_MODULES_LIB="$HOST_LIBDIR"
|
||||
export DISABLED_EXTENSIONS="readline _curses _curses_panel $PKG_PY_DISABLED_MODULES"
|
||||
}
|
||||
|
||||
@@ -104,6 +106,8 @@ post_makeinstall_host() {
|
||||
}
|
||||
|
||||
pre_configure_target() {
|
||||
export PYTHON_MODULES_INCLUDE="$TARGET_INCDIR"
|
||||
export PYTHON_MODULES_LIB="$TARGET_LIBDIR"
|
||||
export DISABLED_EXTENSIONS="$PKG_PY_DISABLED_MODULES"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user