* [ptxdist] [PATCH] glib: follow GLOBAL_SELINUX
@ 2026-11-21 9:08 Ladislav Michl
0 siblings, 0 replies; only message in thread
From: Ladislav Michl @ 2026-11-21 9:08 UTC (permalink / raw)
To: ptxdist
From: Ladislav Michl <ladis@triops.cz>
Enable SELinux support when the global option is set instead of always
disabling it.
Signed-off-by: Ladislav Michl <ladis@triops.cz>
---
rules/glib.in | 1 +
rules/glib.make | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/rules/glib.in b/rules/glib.in
index 00485112a..20e26077f 100644
--- a/rules/glib.in
+++ b/rules/glib.in
@@ -13,6 +13,7 @@ menuconfig GLIB
select UTIL_LINUX if GLIB_LIBMOUNT
select UTIL_LINUX_LIBMOUNT if GLIB_LIBMOUNT
select ZLIB
+ select LIBSELINUX if GLOBAL_SELINUX
help
GLib is a library containing many useful C routines for things
such as trees, hashes, lists, and strings. It is a useful
diff --git a/rules/glib.make b/rules/glib.make
index cc3b6f1f3..62e85ef31 100644
--- a/rules/glib.make
+++ b/rules/glib.make
@@ -38,7 +38,7 @@ GLIB_MESON_CROSS_FILE := $(call ptx/get-alternative, config/meson, glib-cross-fi
GLIB_CONF_TOOL := meson
GLIB_CONF_OPT := \
$(CROSS_MESON_USR) \
- -Dselinux=disabled \
+ -Dselinux=$(call ptx/endis, PTXCONF_GLOBAL_SELINUX)d \
-Dxattr=false \
-Dlibmount=$(call ptx/endis, PTXCONF_GLIB_LIBMOUNT)d \
-Dman-pages=disabled \
--
2.47.3
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-21 9:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-21 9:08 [ptxdist] [PATCH] glib: follow GLOBAL_SELINUX Ladislav Michl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox