mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +01:00
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
This commit is contained in:
parent
644ecec971
commit
35d5add4bb
@ -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
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user