summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/gobject-introspection/files/patch-configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/gobject-introspection/files/patch-configure b/devel/gobject-introspection/files/patch-configure
index 7b5ed4958..d2838d890 100644
--- a/devel/gobject-introspection/files/patch-configure
+++ b/devel/gobject-introspection/files/patch-configure
@@ -7,10 +7,10 @@
-if test "x$PYTHON_INCLUDES" == x; then
- PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
+if test "x$PYTHON_INCLUDES" = x; then
-+ PYTHON_INCLUDES=`python${PYTHON_VERSION}-config --includes`
++ PYTHON_INCLUDES=`python${PYTHON_VERSION}-config --cflags`
if test "$py_prefix" != "$py_exec_prefix"; then
- PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
-+ PYTHON_INCLUDES=`python${PYTHON_VERSION}-config --includes`
++ PYTHON_INCLUDES=`python${PYTHON_VERSION}-config --cflags`
fi
fi