summaryrefslogtreecommitdiff
blob: 0bfe77956740fb75c820ab0e98bd316533df8ee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 62a8e7337b6d678e5293fbfe713f3d1806003331 Mon Sep 17 00:00:00 2001
From: Ionut Biru <ibiru@archlinux.org>
Date: Wed, 9 May 2012 17:34:10 +0000
Subject: [PATCH] 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@archlinux.org>
Reviewed-by: Simon McVittie <simon.mcvittie@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])
-- 
1.7.8.6