We need to link gdk with the gio library for non-X11 backends

(For X11, we link with gio-unix which takes care of it.)
This commit is contained in:
Tor Lillqvist 2010-06-28 00:20:44 +03:00
parent 4aa75fcf43
commit f0e24348a0

View File

@ -1300,7 +1300,7 @@ LDFLAGS="$saved_ldflags"
if test "x$gdktarget" = "xx11"; then
GDK_PACKAGES="$PANGO_PACKAGES gio-unix-2.0 $X_PACKAGES gdk-pixbuf-2.0 cairo-$cairo_backend"
else
GDK_PACKAGES="$PANGO_PACKAGES $X_PACKAGES gdk-pixbuf-2.0 cairo-$cairo_backend"
GDK_PACKAGES="$PANGO_PACKAGES gio-2.0 gdk-pixbuf-2.0 cairo-$cairo_backend"
fi
GDK_DEP_LIBS="$GDK_EXTRA_LIBS `$PKG_CONFIG --libs $GDK_PACKAGES`"