summaryrefslogtreecommitdiffstats
path: root/rules/glib.in
diff options
context:
space:
mode:
authorGavin Schenk <g.schenk@eckelmann.de>2019-01-22 07:40:58 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-01-23 18:34:14 +0100
commit9d299ac74591674b2224bf559807675100f24fec (patch)
treeef07ca7ad1bc8e3b4e981cfc1be6d9b729dd578d /rules/glib.in
parentddee5091c449c470fe9e5d5bbe11735111f06a64 (diff)
downloadptxdist-9d299ac74591674b2224bf559807675100f24fec.tar.gz
ptxdist-9d299ac74591674b2224bf559807675100f24fec.tar.xz
glib: Add switch to enable feature libmount in glib
Introduce a new switch GLIB_LIBMOUNT, that optionally enables feature libmount in glib Signed-off-by: Gavin Schenk <g.schenk@eckelmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/glib.in')
-rw-r--r--rules/glib.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/rules/glib.in b/rules/glib.in
index ddc4625cd..fca978ddd 100644
--- a/rules/glib.in
+++ b/rules/glib.in
@@ -14,6 +14,8 @@ menuconfig GLIB
select HOST_GTK_DOC
select ICONV
select ZLIB
+ select UTIL_LINUX_NG if GLIB_LIBMOUNT
+ select UTIL_LINUX_NG_LIBMOUNT if GLIB_LIBMOUNT
help
GLib is a library containing many useful C routines for things
such as trees, hashes, lists, and strings. It is a useful
@@ -29,4 +31,10 @@ config GLIB_GDBUS
gdbus is a command line dbus tool, based on the glib internal gdbus
implementation.
+config GLIB_LIBMOUNT
+ bool
+ prompt "enable libmount
+ help
+ Enable libmount in glib
+
endif