summaryrefslogtreecommitdiffstats
path: root/rules/libselinux.in
diff options
context:
space:
mode:
Diffstat (limited to 'rules/libselinux.in')
-rw-r--r--rules/libselinux.in13
1 files changed, 11 insertions, 2 deletions
diff --git a/rules/libselinux.in b/rules/libselinux.in
index 5260706bc..c5c67d616 100644
--- a/rules/libselinux.in
+++ b/rules/libselinux.in
@@ -1,12 +1,21 @@
## SECTION=selinux
-config LIBSELINUX
+menuconfig LIBSELINUX
tristate
- prompt "libselinux"
+ prompt "libselinux "
select LIBPCRE
select LIBSEPOL
+ select PYTHON if LIBSELINUX_PYTHON
+ select HOST_SWIG if LIBSELINUX_PYTHON
help
libselinux provides an API for SELinux applications to get and set
process and file security contexts and to obtain security policy
decisions. Required for any applications that use the SELinux
API.
+
+if LIBSELINUX
+
+config LIBSELINUX_PYTHON
+ bool "python wrapper"
+
+endif