From 335e5f0eb68716971d2c97e8fda3e1f5b49226ea Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Mon, 7 Dec 2015 21:04:39 +0100 Subject: [PATCH] Missing libraries dependencies. --- configure.ac | 4 +++- libzakutils.pc.in | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 1c9a1b5..54ac6d4 100644 --- a/configure.ac +++ b/configure.ac @@ -39,7 +39,9 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", AM_GLIB_GNU_GETTEXT # Checks for libraries. -PKG_CHECK_MODULES(ZAKUTILS, [glib-2.0 >= 2.36]) +PKG_CHECK_MODULES(ZAKUTILS, [glib-2.0 >= 2.36 + gobject-2.0 >= 2.36 + gio-2.0 >= 2.36]) AC_SUBST(ZAKUTILS_CFLAGS) AC_SUBST(ZAKUTILS_LIBS) diff --git a/libzakutils.pc.in b/libzakutils.pc.in index 4e804fb..4d07037 100644 --- a/libzakutils.pc.in +++ b/libzakutils.pc.in @@ -7,6 +7,6 @@ modulesdir=@libdir@/@PACKAGE@/modules Name: @PACKAGE_NAME@ Description: Utility functions. Version: @PACKAGE_VERSION@ -Requires: glib-2.0 >= 2.36 +Requires: glib-2.0 >= 2.36 gobject-2.0 >= 2.36 gio-2.0 >= 2.36 Libs: -L${libdir} -lzakutils Cflags: -I${includedir} -- 2.49.0