From 35d5add4bb65984b428d47d40ace1e2c2d22c2b5 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Tue, 13 Feb 2018 14:58:07 +0000 Subject: [PATCH] build: Lower libmount dependency to 2.23 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since commit 96ebcee8c4, we don’t actually need libmount 2.28. Lower our dependency to 2.23 so that we can continue to build against CentOS 7. Signed-off-by: Philip Withnall Reviewed-by: Emmanuele Bassi https://bugzilla.gnome.org/show_bug.cgi?id=793288 --- configure.ac | 2 +- meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 694dee3bb..6d6ce9bbb 100644 --- a/configure.ac +++ b/configure.ac @@ -1798,7 +1798,7 @@ AC_ARG_ENABLE(libmount, [build with libmount support [default for Linux]])],, [enable_libmount=$enable_libmount_default]) AS_IF([ test "x$enable_libmount" = "xyes"],[ -PKG_CHECK_MODULES([LIBMOUNT], [mount >= 2.28], [have_libmount=yes], [have_libmount=no]) +PKG_CHECK_MODULES([LIBMOUNT], [mount >= 2.23], [have_libmount=yes], [have_libmount=no]) if test $have_libmount = no ; then AC_MSG_ERROR([*** Could not find libmount]) fi diff --git a/meson.build b/meson.build index 228e7d787..62663780a 100644 --- a/meson.build +++ b/meson.build @@ -1521,7 +1521,7 @@ xgettext = find_program('xgettext', required : false) # pkg-config file below libmount_dep = [] if host_system == 'linux' and get_option('libmount') - libmount_dep = [dependency('mount', version : '>=2.28', required : true)] + libmount_dep = [dependency('mount', version : '>=2.23', required : true)] endif if host_system == 'windows'