summaryrefslogtreecommitdiff
path: root/package/xbmc/patches/patch-m4_ax_python_devel_m4
diff options
context:
space:
mode:
Diffstat (limited to 'package/xbmc/patches/patch-m4_ax_python_devel_m4')
-rw-r--r--package/xbmc/patches/patch-m4_ax_python_devel_m422
1 files changed, 20 insertions, 2 deletions
diff --git a/package/xbmc/patches/patch-m4_ax_python_devel_m4 b/package/xbmc/patches/patch-m4_ax_python_devel_m4
index c54320c0e..cdc234436 100644
--- a/package/xbmc/patches/patch-m4_ax_python_devel_m4
+++ b/package/xbmc/patches/patch-m4_ax_python_devel_m4
@@ -1,5 +1,5 @@
---- 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
+--- xbmc-12.3-Frodo.orig/m4/ax_python_devel.m4 2013-12-12 22:47:49.000000000 +0100
++++ xbmc-12.3-Frodo/m4/ax_python_devel.m4 2014-01-27 18:51:28.000000000 +0100
@@ -151,10 +151,9 @@ $ac_distutils_result])
#
AC_MSG_CHECKING([for Python include path])
@@ -13,3 +13,21 @@
fi
PYTHON_CPPFLAGS=$python_path
fi
+@@ -267,17 +266,6 @@ EOD`
+ AC_MSG_RESULT([$PYTHON_SITE_PKG])
+ AC_SUBST([PYTHON_SITE_PKG])
+
+- #
+- # libraries which must be linked in when embedding
+- #
+- AC_MSG_CHECKING(python extra libraries)
+- if test -z "$PYTHON_EXTRA_LIBS"; then
+- PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \
+- conf = distutils.sysconfig.get_config_var; \
+- print (conf('LOCALMODLIBS') + ' ' + conf('LIBS'))"`
+- fi
+- AC_MSG_RESULT([$PYTHON_EXTRA_LIBS])
+- AC_SUBST(PYTHON_EXTRA_LIBS)
+
+ #
+ # linking flags needed when embedding