diff options
| author | Phil Blundell <philb@gnu.org> | 2010-02-28 20:47:24 +0000 |
|---|---|---|
| committer | Phil Blundell <philb@gnu.org> | 2010-02-28 20:47:24 +0000 |
| commit | dc352c9d9da30ec3d77aa58a7f535ce19871867d (patch) | |
| tree | 6a7d1986bb92191974b230a9d9c12adb9095ff45 /recipes/python/python-gst | |
| parent | fd2bed3297f3b76a8a6b18ba599e7d9d71d2c045 (diff) | |
| parent | d58b4cdd9664e1926a4e14a575ba0bef4c2302ed (diff) | |
Merge branch 'org.openembedded.dev' of new.openembedded.org:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/python/python-gst')
| -rw-r--r-- | recipes/python/python-gst/python-path.patch | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes/python/python-gst/python-path.patch b/recipes/python/python-gst/python-path.patch index 6cbad8cc5f..5256ddd0ec 100644 --- a/recipes/python/python-gst/python-path.patch +++ b/recipes/python/python-gst/python-path.patch @@ -2,7 +2,7 @@ Index: gst-python-0.10.10/acinclude.m4 =================================================================== --- gst-python-0.10.10.orig/acinclude.m4 +++ gst-python-0.10.10/acinclude.m4 -@@ -43,16 +43,20 @@ AC_DEFUN([AM_CHECK_PYTHON_HEADERS], +@@ -43,16 +43,21 @@ AC_DEFUN([AM_CHECK_PYTHON_HEADERS], [AC_REQUIRE([AM_PATH_PYTHON]) AC_MSG_CHECKING(for headers required to compile python extensions) dnl deduce PYTHON_INCLUDES @@ -15,6 +15,7 @@ Index: gst-python-0.10.10/acinclude.m4 + [ --with-python-includes=DIR path to Python includes], py_exec_prefix=$withval) +if test x$py_exec_prefix != x; then + PYTHON_INCLUDES="-I${py_exec_prefix}/include/python${PYTHON_VERSION}" ++ py_prefix=`$PYTHON -c "import sys; print sys.prefix"` else - PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" - if test "$py_prefix" != "$py_exec_prefix"; then @@ -23,7 +24,7 @@ Index: gst-python-0.10.10/acinclude.m4 + py_prefix=`$PYTHON -c "import sys; print sys.prefix"` + py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` + PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" -+if test "$py_prefix" != "$py_exec_prefix"; then ++ if test "$py_prefix" != "$py_exec_prefix"; then + PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" + fi fi |
