summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/python2/Makefile5
-rw-r--r--package/python2/files/patch-Lib_distutils_sysconfig_py (renamed from package/python2/patches/patch-Lib_distutils_sysconfig_py)0
2 files changed, 4 insertions, 1 deletions
diff --git a/package/python2/Makefile b/package/python2/Makefile
index 47033dc2a..a0fa499a8 100644
--- a/package/python2/Makefile
+++ b/package/python2/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= python2
PKG_VERSION:= 2.7.5
-PKG_RELEASE:= 7
+PKG_RELEASE:= 8
PKG_MD5SUM:= b4f01a1d0ba0b46b05c73b2ac909b1df
PKG_DESCR:= Python scripting language (Version 2)
PKG_SECTION:= lang
@@ -100,6 +100,7 @@ HOST_CONFIGURE_ARGS:= --with-threads \
--disable-shared \
--disable-toolbox-glue \
--without-cxx-main
+CFLAGS_FOR_BUILD+= -fPIC
hostpost-install:
$(INSTALL_BIN) ${WRKBUILD}/Parser/pgen \
@@ -108,6 +109,8 @@ hostpost-install:
pre-configure:
(cd $(WRKBUILD) && patch -p1 < \
$(TOPDIR)/package/python2/files/patch-Misc_python-config_in )
+ (cd $(WRKBUILD) && patch -p1 < \
+ $(TOPDIR)/package/python2/files/patch-Lib_distutils_sysconfig_py )
$(SED) "s#@EXENAME@#$(STAGING_HOST_DIR)/usr/bin/python#" \
$(WRKBUILD)/Misc/python-config.in
diff --git a/package/python2/patches/patch-Lib_distutils_sysconfig_py b/package/python2/files/patch-Lib_distutils_sysconfig_py
index 30aae0816..30aae0816 100644
--- a/package/python2/patches/patch-Lib_distutils_sysconfig_py
+++ b/package/python2/files/patch-Lib_distutils_sysconfig_py