[gtk+/native-layout] Don't use gio-unix on win32
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/native-layout] Don't use gio-unix on win32
- Date: Sun, 4 Apr 2010 02:47:23 +0000 (UTC)
commit c4dec47536c375660e8cd7d869efbec7412f918e
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Apr 1 10:07:11 2010 -0400
Don't use gio-unix on win32
We only need gio-unix when building the x11 backend.
Reported by Yevgen Muntyan in bug 614540.
configure.in | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index aef3109..0ab559f 100644
--- a/configure.in
+++ b/configure.in
@@ -1720,7 +1720,12 @@ CFLAGS="$saved_cflags"
LDFLAGS="$saved_ldflags"
# Pull in gio-unix for GDesktopAppInfo usage, see at least gdkapplaunchcontext-x11.c
-GDK_PACKAGES="$PANGO_PACKAGES gio-unix-2.0 $X_PACKAGES cairo-$cairo_backend"
+if test "x$gdktarget" = "xx11"; then
+ GDK_PACKAGES="$PANGO_PACKAGES gio-unix-2.0 $X_PACKAGES cairo-$cairo_backend"
+else
+ GDK_PACKAGES="$PANGO_PACKAGES $X_PACKAGES cairo-$cairo_backend"
+fi
+
GDK_DEP_LIBS="$GDK_EXTRA_LIBS `$PKG_CONFIG --libs $GDK_PIXBUF_PACKAGES $GDK_PACKAGES` $GDK_PIXBUF_EXTRA_LIBS"
GDK_DEP_CFLAGS="`$PKG_CONFIG --cflags gthread-2.0 $GDK_PIXBUF_PACKAGES $GDK_PACKAGES` $GDK_PIXBUF_EXTRA_CFLAGS $GDK_EXTRA_CFLAGS"
#
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]