[gjs] build: Link everything to gio



commit a6ebdb5ebad1742948c5ce608b190c9654d901a5
Author: Colin Walters <walters verbum org>
Date:   Wed Jun 27 12:46:59 2012 -0400

    build: Link everything to gio
    
    Should fix a linker error building the test suite when using
    -Wl,--no-undefined.  This is a fairly aggressive fix; we probably
    don't need to link all of the modules to gio, but on the other hand,
    there's really not a strong reason not to, and for people using
    -Wl,--as-needed any unnecessary linkage due to this will be removed.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=678957

 configure.ac |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e3d712c..0a6207a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -86,8 +86,7 @@ fi
 AM_CONDITIONAL([ENABLE_COVERAGE], [test x$enable_coverage = xyes])
 
 # Checks for libraries.
-m4_define(glib_required_version, 2.31.0)
-m4_define(gobject_required_version, 2.18.0)
+m4_define(glib_required_version, 2.32.0)
 
 AC_CHECK_HEADERS([malloc.h])
 AC_CHECK_FUNCS(mallinfo)
@@ -121,8 +120,8 @@ CFLAGS="$save_CFLAGS"
 
 GOBJECT_INTROSPECTION_REQUIRE([1.33.2])
 
-common_packages="glib-2.0 >= glib_required_version gobject-2.0 >= gobject_required_version mozjs185"
-gjs_packages="gmodule-2.0 gthread-2.0 gobject-introspection-1.0 >= 0.10.1 $common_packages"
+common_packages="gmodule-2.0 gthread-2.0 gio-2.0 >= glib_required_version mozjs185"
+gjs_packages="gobject-introspection-1.0 >= 0.10.1 $common_packages"
 gjs_cairo_gobject_packages="cairo-gobject $common_packages"
 gjs_cairo_packages="cairo $common_packages"
 gjs_dbus_packages="dbus-glib-1 $common_packages"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]