summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes/python/python-pygobject-native_2.20.0.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes/python/python-pygobject-native_2.20.0.bb b/recipes/python/python-pygobject-native_2.20.0.bb
index 40d7a9eeca..918ffa2643 100644
--- a/recipes/python/python-pygobject-native_2.20.0.bb
+++ b/recipes/python/python-pygobject-native_2.20.0.bb
@@ -11,6 +11,8 @@ SRC_URI = "\
# file://python-path.patch;patch=1 \
"
+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_append() {
install -d ${STAGING_BINDIR}
install -m 0755 gobject/generate-constants ${STAGING_BINDIR}/gobject-generate-constants