summaryrefslogtreecommitdiffstats
path: root/rules/libsemanage.in
diff options
context:
space:
mode:
Diffstat (limited to 'rules/libsemanage.in')
-rw-r--r--rules/libsemanage.in13
1 files changed, 11 insertions, 2 deletions
diff --git a/rules/libsemanage.in b/rules/libsemanage.in
index cf1e98ad3..4b20bd4a2 100644
--- a/rules/libsemanage.in
+++ b/rules/libsemanage.in
@@ -1,14 +1,23 @@
## SECTION=selinux
-config LIBSEMANAGE
+menuconfig LIBSEMANAGE
tristate
- prompt "libsemanage"
+ prompt "libsemanage "
select BZIP2
select BZIP2_LIBBZ2
select LIBSEPOL
select LIBSELINUX
select USTR
+ select PYTHON if LIBSEMANAGE_PYTHON
+ select HOST_SWIG if LIBSEMANAGE_PYTHON
help
This package provides the shared libraries for SELinux policy management.
It uses libsepol for binary policy manipulation and libselinux for
interacting with the SELinux system.
+
+if LIBSEMANAGE
+
+config LIBSEMANAGE_PYTHON
+ bool "python wrapper"
+
+endif