From: Ladislav Michl <oss-lists@triops.cz>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] libxcb: follow GLOBAL_SELINUX
Date: Sat, 21 Nov 2026 10:13:51 +0100 [thread overview]
Message-ID: <awFgz4h3Po0LlFsP@lenoch> (raw)
From: Ladislav Michl <ladis@triops.cz>
Build and install the xcb-xselinux protocol library when the global
option is set. It does not depend on libselinux.
Signed-off-by: Ladislav Michl <ladis@triops.cz>
---
rules/libxcb.make | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/rules/libxcb.make b/rules/libxcb.make
index f038349f2..3f9351185 100644
--- a/rules/libxcb.make
+++ b/rules/libxcb.make
@@ -68,7 +68,7 @@ LIBXCB_CONF_OPT := \
--enable-xinput \
--enable-xkb \
--enable-xprint \
- --disable-selinux \
+ --$(call ptx/endis, PTXCONF_GLOBAL_SELINUX)-selinux \
--enable-xtest \
--enable-xv \
--enable-xvmc \
@@ -111,6 +111,9 @@ $(STATEDIR)/libxcb.targetinstall:
@$(call install_lib, libxcb, 0, 0, 0644, libxcb-xkb)
# @$(call install_lib, libxcb, 0, 0, 0644, libxcb-xlib)
@$(call install_lib, libxcb, 0, 0, 0644, libxcb-xprint)
+ifdef PTXCONF_GLOBAL_SELINUX
+ @$(call install_lib, libxcb, 0, 0, 0644, libxcb-xselinux)
+endif
@$(call install_lib, libxcb, 0, 0, 0644, libxcb-xtest)
@$(call install_lib, libxcb, 0, 0, 0644, libxcb-xv)
@$(call install_lib, libxcb, 0, 0, 0644, libxcb-xvmc)
--
2.47.3
reply other threads:[~2026-11-21 9:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=awFgz4h3Po0LlFsP@lenoch \
--to=oss-lists@triops.cz \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox