[evolution-data-server] Fix a build break in libebackend.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Fix a build break in libebackend.
- Date: Mon, 26 Sep 2011 18:02:42 +0000 (UTC)
commit d406e77b13a2eebf98bd32fc5d9d18d35e5f69ab
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon Sep 26 13:59:27 2011 -0400
Fix a build break in libebackend.
UNIX-specific GLib headers require a separate set of flags.
configure.ac | 4 ++++
libebackend/Makefile.am | 8 +++++---
2 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9983fe3..172d181 100644
--- a/configure.ac
+++ b/configure.ac
@@ -349,6 +349,10 @@ if `$PKG_CONFIG --atleast-version=0.9.1 libgdata`; then
AC_DEFINE(HAVE_LIBGDATA_0_9, 1, [libgdata is 0.9.1 or higher])
fi
+if test x$os_win32 = xno; then
+ PKG_CHECK_MODULES(GIO_UNIX, [gio-unix-2.0])
+fi
+
dnl *******************************
dnl Check for GNOME Online Accounts
dnl *******************************
diff --git a/libebackend/Makefile.am b/libebackend/Makefile.am
index 09845c4..fba7a3a 100644
--- a/libebackend/Makefile.am
+++ b/libebackend/Makefile.am
@@ -5,8 +5,9 @@ libebackend_1_2_la_CPPFLAGS = \
-I$(top_srcdir) \
-DG_LOG_DOMAIN=\"e-data-server\" \
$(DB_CFLAGS) \
- $(SQLITE3_CFLAGS) \
- $(E_BACKEND_CFLAGS)
+ $(SQLITE3_CFLAGS) \
+ $(E_BACKEND_CFLAGS) \
+ $(GIO_CFLAGS)
libebackend_1_2_la_SOURCES = \
e-backend.c \
@@ -25,7 +26,8 @@ libebackend_1_2_la_SOURCES = \
libebackend_1_2_la_LIBADD = \
$(top_builddir)/libedataserver/libedataserver-1.2.la \
$(E_BACKEND_LIBS) \
- $(SQLITE3_LIBS) \
+ $(SQLITE3_LIBS) \
+ $(GIO_LIBS) \
$(DB_LIBS)
libebackend_1_2_la_LDFLAGS = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]