mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 20:46:14 +01:00
meson: Fix libmount support
The define was still missing. https://bugzilla.gnome.org/show_bug.cgi?id=789681
This commit is contained in:
parent
34148fc9b9
commit
69b2b5f262
@ -247,6 +247,9 @@
|
||||
/* Define if libelf is available */
|
||||
#mesondefine HAVE_LIBELF
|
||||
|
||||
/* Define if libmount is available */
|
||||
#mesondefine HAVE_LIBMOUNT
|
||||
|
||||
/* Define to 1 if you have the <linux/magic.h> header file. */
|
||||
#mesondefine HAVE_LINUX_MAGIC_H
|
||||
|
||||
|
@ -1535,6 +1535,7 @@ if use_system_pcre
|
||||
endif
|
||||
if libmount_dep.length() == 1 and libmount_dep[0].found()
|
||||
glib_conf.set('LIBMOUNT_LIBS', '-lmount')
|
||||
glib_conf.set('HAVE_LIBMOUNT', 1)
|
||||
endif
|
||||
glib_conf.set('GIO_MODULE_DIR', '${libdir}/gio/modules')
|
||||
# FIXME: Missing:
|
||||
|
Loading…
Reference in New Issue
Block a user