summaryrefslogtreecommitdiff
path: root/package/python2/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-11-30 18:42:39 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-11-30 18:42:39 +0100
commitf31d1245743f5c7616b2fafc119daaf83f0086b1 (patch)
treedd1e62968dcc6aabcbacc7f59787b2c4ba866da5 /package/python2/Makefile
parent8e8512391c668fc7074f812f15eabe8f176fb01e (diff)
fix xbmc build, it uses distutils to find python include dir
Diffstat (limited to 'package/python2/Makefile')
-rw-r--r--package/python2/Makefile3
1 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