Hi,

this small fix allows cross-compile of python on BSD hosts.

Signed-off-by: Waldemar Brodkorb <[email protected]>

Index: lang/python/Makefile
===================================================================
--- lang/python/Makefile        (revision 35899)
+++ lang/python/Makefile        (working copy)
@@ -9,7 +9,7 @@
 
 PKG_NAME:=python
 PKG_VERSION:=2.7.3
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=http://www.python.org/ftp/python/$(PKG_VERSION)
@@ -162,6 +162,7 @@
                --with-threads \
                --with-system-ffi="$(STAGING_DIR)/usr" \
                $(ENABLE_IPV6) \
+               MACHDEP=linux2 \
                ac_cv_have_chflags=no \
                ac_cv_have_lchflags=no \
                ac_cv_py_format_size_t=no \
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to