[next] telepathy-glib: define _TP_COMPILATION in gir scanner

Xavier Claessens xclaesse at kemper.freedesktop.org
Wed Jun 6 02:40:26 PDT 2012


Module: telepathy-glib
Branch: next
Commit: f91d0476422666818bc2a61521406e9006b60eca
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=f91d0476422666818bc2a61521406e9006b60eca

Author: Xavier Claessens <xavier.claessens at collabora.co.uk>
Date:   Wed May 30 11:35:01 2012 +0200

define _TP_COMPILATION in gir scanner

Otherwise upcoming single-include #error will break the scanner

https://bugs.freedesktop.org/show_bug.cgi?id=49384

---

 telepathy-glib/introspection.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/telepathy-glib/introspection.am b/telepathy-glib/introspection.am
index 168b95c..6194c8b 100644
--- a/telepathy-glib/introspection.am
+++ b/telepathy-glib/introspection.am
@@ -86,6 +86,7 @@ TelepathyGLib_0_12_gir_FILES = \
 TelepathyGLib_0_12_gir_NAMESPACE = TelepathyGLib
 TelepathyGLib_0_12_gir_VERSION = 0.12
 TelepathyGLib_0_12_gir_LIBS = libtelepathy-glib.la
+TelepathyGLib_0_12_gir_CFLAGS = -D_TP_COMPILATION
 TelepathyGLib_0_12_gir_EXPORT_PACKAGES = telepathy-glib
 
 TelepathyGLib_0_12_gir_SCANNERFLAGS = \



More information about the telepathy-commits mailing list