Merge branch 'master' of git.opendreambox.org:/git/enigma2
[enigma2.git] / acinclude.m4
index 3bb5b10bc1bc77fb1d3d2ef01335868a026a261b..b71c89f4898ba250418a9a919bb92e640463e700 100644 (file)
@@ -414,6 +414,7 @@ AC_DEFUN([AC_PYTHON_DEVEL],[
                python_path=
                for i in $CPPFLAGS ; do
                        p=`echo $i | sed "s,^-I,,"`
+                       p=`echo $p | sed "s,^-isystem,,"`
                        if test -f "$p/python$cross_PYTHON_VERSION/Python.h"; then
                                python_path="$p/python$cross_PYTHON_VERSION"
                                break