telepathy-rakia: Check for gio to avoid linking issue

Simon McVittie smcv at kemper.freedesktop.org
Wed May 9 10:37:28 PDT 2012


Module: telepathy-rakia
Branch: master
Commit: 62a8e7337b6d678e5293fbfe713f3d1806003331
URL:    http://cgit.freedesktop.org/telepathy/telepathy-rakia/commit/?id=62a8e7337b6d678e5293fbfe713f3d1806003331

Author: Ionut Biru <ibiru at archlinux.org>
Date:   Wed May  9 17:34:10 2012 +0000

Check for gio to avoid linking issue

/usr/bin/ld: note: 'g_inet_address_new_from_string' is defined in DSO
/usr/lib/libgio-2.0.so.0 so try adding it to the linker command line

Signed-off-by: Ionut Biru <ibiru at archlinux.org>
Reviewed-by: Simon McVittie <simon.mcvittie at collabora.co.uk>

---

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 2a6cb2a..461d464 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,7 +62,7 @@ dnl GTK docs
 GTK_DOC_CHECK
 
 dnl Check for Glib 
-PKG_CHECK_MODULES(GLIB, gobject-2.0 >= 2.30, have_glib=yes, have_glib=no)
+PKG_CHECK_MODULES(GLIB, [gobject-2.0 >= 2.30, gio-2.0 >= 2.30], have_glib=yes, have_glib=no)
 
 if test x$have_glib = xno ; then
     AC_MSG_ERROR([GLib development libraries not found])



More information about the telepathy-commits mailing list