From c4dec47536c375660e8cd7d869efbec7412f918e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 1 Apr 2010 10:07:11 -0400 Subject: [PATCH] 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 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index aef3109d6c..0ab559f5c6 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" #