summaryrefslogtreecommitdiff
path: root/package/python2
diff options
context:
space:
mode:
Diffstat (limited to 'package/python2')
-rw-r--r--package/python2/Makefile3
-rw-r--r--package/python2/patches/patch-Lib_distutils_sysconfig_py (renamed from package/python2/files/patch-Lib_distutils_sysconfig_py)0
2 files changed, 1 insertions, 2 deletions
diff --git a/package/python2/Makefile b/package/python2/Makefile
index 1fa0cce94..36bcdf7fc 100644
--- a/package/python2/Makefile
+++ b/package/python2/Makefile
@@ -97,6 +97,7 @@ CONFIGURE_ARGS:= --with-threads \
HOST_STYLE:= auto
HOST_CONFIGURE_ARGS:= --with-threads \
+ --enable-shared \
--disable-toolbox-glue \
--without-cxx-main
@@ -106,8 +107,6 @@ hostpost-install:
pre-configure:
(cd $(WRKBUILD) && patch -p1 < \
- $(TOPDIR)/package/python2/files/patch-Lib_distutils_sysconfig_py )
- (cd $(WRKBUILD) && patch -p1 < \
$(TOPDIR)/package/python2/files/patch-Misc_python-config_in )
$(SED) "s#@EXENAME@#$(STAGING_HOST_DIR)/usr/bin/python#" \
$(WRKBUILD)/Misc/python-config.in
diff --git a/package/python2/files/patch-Lib_distutils_sysconfig_py b/package/python2/patches/patch-Lib_distutils_sysconfig_py
index 30aae0816..30aae0816 100644
--- a/package/python2/files/patch-Lib_distutils_sysconfig_py
+++ b/package/python2/patches/patch-Lib_distutils_sysconfig_py