[glib] build: Lower libmount dependency to 2.23
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] build: Lower libmount dependency to 2.23
- Date: Tue, 13 Feb 2018 15:00:14 +0000 (UTC)
commit 35d5add4bb65984b428d47d40ace1e2c2d22c2b5
Author: Philip Withnall <withnall endlessm com>
Date: Tue Feb 13 14:58:07 2018 +0000
build: Lower libmount dependency to 2.23
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 <withnall endlessm com>
Reviewed-by: Emmanuele Bassi <ebassi gnome org>
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'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]