mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 15:33:39 +02:00
Autotools: Move libmount from Libs.private to Requires.private
libmount depends on libblkid, so if we statically link a trivial executable to GIO, we need to pull in both libmount and libblkid. Linking with -lmount is not enough to achieve that, but recursing into mount.pc is. This makes the Autotools build a bit more like the Meson build, which already puts mount in Requires.private. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
committed by
Xavier Claessens
parent
c9f5eefa10
commit
55b17dccfc
@@ -1787,9 +1787,13 @@ fi
|
||||
])
|
||||
|
||||
if test x$have_libmount = xyes; then
|
||||
LIBMOUNT_REQUIRES="mount >= 2.23"
|
||||
AC_DEFINE(HAVE_LIBMOUNT, 1, [Define if libmount is available])
|
||||
else
|
||||
LIBMOUNT_REQUIRES=""
|
||||
fi
|
||||
AM_CONDITIONAL(HAVE_LIBMOUNT, [test x$have_libmount = xyes])
|
||||
AC_SUBST([LIBMOUNT_REQUIRES])
|
||||
|
||||
dnl ****************************************
|
||||
dnl *** platform dependent source checks ***
|
||||
|
Reference in New Issue
Block a user