summaryrefslogtreecommitdiff
path: root/package/xbmc/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-03 12:38:19 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-03 12:38:19 +0100
commit19d1483352cf5e716f367a47d7605056b10a3607 (patch)
tree754e79af36f328d3877a613389fedc550daa4094 /package/xbmc/patches
parentb8f966a1a310829fa88d0e7c48a41c5bd199bda7 (diff)
fix python problem, use python-config
Diffstat (limited to 'package/xbmc/patches')
-rw-r--r--package/xbmc/patches/patch-m4_ax_python_devel_m415
1 files changed, 15 insertions, 0 deletions
diff --git a/package/xbmc/patches/patch-m4_ax_python_devel_m4 b/package/xbmc/patches/patch-m4_ax_python_devel_m4
new file mode 100644
index 000000000..c54320c0e
--- /dev/null
+++ b/package/xbmc/patches/patch-m4_ax_python_devel_m4
@@ -0,0 +1,15 @@
+--- xbmc-12.2.orig/m4/ax_python_devel.m4 2013-05-03 07:57:40.000000000 +0200
++++ xbmc-12.2/m4/ax_python_devel.m4 2013-12-03 09:41:55.000000000 +0100
+@@ -151,10 +151,9 @@ $ac_distutils_result])
+ #
+ AC_MSG_CHECKING([for Python include path])
+ if test -z "$PYTHON_CPPFLAGS"; then
+- python_path=`$PYTHON -c "import distutils.sysconfig; \
+- print (distutils.sysconfig.get_python_inc ());"`
++ python_path=`python2-config --includes`
+ if test -n "${python_path}"; then
+- python_path="-I$python_path"
++ python_path="$python_path"
+ fi
+ PYTHON_CPPFLAGS=$python_path
+ fi