summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes/python/python-pygobject_2.20.0.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes/python/python-pygobject_2.20.0.bb b/recipes/python/python-pygobject_2.20.0.bb
index 2a07a4a1a4..10c94dcbc1 100644
--- a/recipes/python/python-pygobject_2.20.0.bb
+++ b/recipes/python/python-pygobject_2.20.0.bb
@@ -20,6 +20,8 @@ inherit autotools distutils-base pkgconfig
export BUILD_SYS
export HOST_SYS
+export GOBJECT_INTROSPECTION_CFLAGS="-pthread -I${STAGING_INCDIR}/gobject-introspection-1.0 -I${STAGING_INCDIR}/glib-2.0 -I${STAGING_LIBDIR}/glib-2.0/include"
+
do_stage() {
autotools_stage_all
install -d ${STAGING_LIBDIR}/../share/pygobject/