summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libtracker-sparql/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libtracker-sparql/Makefile.am b/src/libtracker-sparql/Makefile.am
index 778363f8a..346a492f2 100644
--- a/src/libtracker-sparql/Makefile.am
+++ b/src/libtracker-sparql/Makefile.am
@@ -68,8 +68,12 @@ Tracker-@TRACKER_API_VERSION@.gir: $(lib_LTLIBRARIES) Makefile
else
Tracker-@TRACKER_API_VERSION@.gir: $(lib_LTLIBRARIES) Makefile
if [[ -z `grep tracker_sparql_escape_uri_vprintf $@ |grep introspectable` ]] ; then \
- sed -i $@ -e "s/c\:identifier\=\"tracker_sparql_escape_uri_vprintf\"/c\:identifier\=\"tracker_sparql_escape_uri_vprintf\"\ introspectable=\"0\"/g" ; \
+ sed -i $@ -e "s/c\:identifier\=\"tracker_sparql_escape_uri_vprintf\"/&\ introspectable=\"0\"/g" ; \
fi
+ if [[ -z `grep scope $@` ]] ; then \
+ sed -i $@ -e "s/\"_callback_\"/&\ scope=\"async\"/g" ; \
+ fi
+
endif
Tracker-@TRACKER_API_VERSION@.typelib: Tracker-$(TRACKER_API_VERSION).gir