mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 15:36:19 +04:00
Merge pull request #1043 from sairon/python-package-extra-configure-args
python: added configure args for distutils path detection
This commit is contained in:
@@ -33,6 +33,13 @@ define HostPython
|
||||
)
|
||||
endef
|
||||
|
||||
# These configure args are needed in detection of path to Python header files
|
||||
# using autotools.
|
||||
CONFIGURE_ARGS += \
|
||||
_python_sysroot="$(STAGING_DIR)" \
|
||||
_python_prefix="/usr" \
|
||||
_python_exec_prefix="/usr"
|
||||
|
||||
PKG_USE_MIPS16:=0
|
||||
# This is required in addition to PKG_USE_MIPS16:=0 because otherwise MIPS16
|
||||
# flags are inherited from the Python base package (via sysconfig module)
|
||||
|
||||
Reference in New Issue
Block a user