diff options
author | Florian Müllner <fmuellner@gnome.org> | 2011-11-23 23:05:22 +0100 |
---|---|---|
committer | Florian Müllner <fmuellner@gnome.org> | 2011-11-23 23:09:17 +0100 |
commit | db15e837e324eb228b66beee968e3d5d2eb0cd4e (patch) | |
tree | 6f226bafa5acba48344f640276d64a552137b633 | |
parent | a56b5c0efc9a6cd7e86dea4e7c5f8be6867202ba (diff) | |
download | gobject-introspection-db15e837e324eb228b66beee968e3d5d2eb0cd4e.tar.gz |
Fix build after GIO removed gmodule dependency
https://bugzilla.gnome.org/show_bug.cgi?id=664681
-rw-r--r-- | Makefile-girepository.am | 4 | ||||
-rw-r--r-- | configure.ac | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile-girepository.am b/Makefile-girepository.am index c61d3a39..2c07b3ab 100644 --- a/Makefile-girepository.am +++ b/Makefile-girepository.am @@ -81,8 +81,8 @@ if !OS_WIN32 noinst_PROGRAMS += gi-dump-types gi_dump_types_SOURCES = girepository/gdump.c girepository/gi-dump-types.c -gi_dump_types_CFLAGS = $(GIO_UNIX_CFLAGS) -gi_dump_types_LDADD = $(GIO_UNIX_LIBS) +gi_dump_types_CFLAGS = $(GIO_UNIX_CFLAGS) $(GMODULE_CFLAGS) +gi_dump_types_LDADD = $(GIO_UNIX_LIBS) $(GMODULE_LIBS) endif GTESTER_PROGS += gthash-test diff --git a/configure.ac b/configure.ac index 2e6fb754..8f373485 100644 --- a/configure.ac +++ b/configure.ac @@ -125,6 +125,7 @@ AC_DEFINE_UNQUOTED(GIR_DIR, "$GIR_DIR", [Director prefix for gir installation]) PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.29.7]) PKG_CHECK_MODULES(GOBJECT, [gobject-2.0]) +PKG_CHECK_MODULES(GMODULE, [gmodule-2.0]) PKG_CHECK_MODULES(GIO, [gio-2.0]) PKG_CHECK_MODULES(GIO_UNIX, [gio-unix-2.0], have_gio_unix=true, have_gio_unix=false) AM_CONDITIONAL(HAVE_GIO_UNIX, test x$have_gio_unix = xtrue) |