diff options
| author | Mirko Vogt <mirko@openwrt.org> | 2015-03-23 21:00:57 +0100 |
|---|---|---|
| committer | Mirko Vogt <mirko@openwrt.org> | 2015-03-23 21:00:57 +0100 |
| commit | 4dbeaacf20ceac4537b428cbfc0b826f9abec63c (patch) | |
| tree | a008aa81eb80429c27eb6f9d95e30a62a6e5c15b /lang/python/files/python-package.mk | |
| parent | d6b77026402383b4c3bae32b41fc90cb4cf4d51b (diff) | |
| parent | d6b0c625ab0d8f9f2dccb0930b634ce09e621cf6 (diff) | |
Merge branch 'master' of https://github.com/openwrt/packages
Diffstat (limited to 'lang/python/files/python-package.mk')
| -rw-r--r-- | lang/python/files/python-package.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lang/python/files/python-package.mk b/lang/python/files/python-package.mk index 6936a0748..4895b91a1 100644 --- a/lang/python/files/python-package.mk +++ b/lang/python/files/python-package.mk @@ -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) |
