1
0

patch-m4_ax_python_devel_m4 578 B

123456789101112131415
  1. --- xbmc-12.2.orig/m4/ax_python_devel.m4 2013-05-03 07:57:40.000000000 +0200
  2. +++ xbmc-12.2/m4/ax_python_devel.m4 2013-12-03 09:41:55.000000000 +0100
  3. @@ -151,10 +151,9 @@ $ac_distutils_result])
  4. #
  5. AC_MSG_CHECKING([for Python include path])
  6. if test -z "$PYTHON_CPPFLAGS"; then
  7. - python_path=`$PYTHON -c "import distutils.sysconfig; \
  8. - print (distutils.sysconfig.get_python_inc ());"`
  9. + python_path=`python2-config --includes`
  10. if test -n "${python_path}"; then
  11. - python_path="-I$python_path"
  12. + python_path="$python_path"
  13. fi
  14. PYTHON_CPPFLAGS=$python_path
  15. fi