diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-02-13 23:56:38 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-02-14 17:35:37 +0100 |
commit | f113f5401bc264ef2a198ce56215a3d6e70ad6e7 (patch) | |
tree | b32fc9b8e044b8cdb82764159230cccffae9de2c /rules/libsemanage.in | |
parent | 7958a6be5cbac7ab779e6b6693ac316d4800d312 (diff) | |
download | ptxdist-f113f5401bc264ef2a198ce56215a3d6e70ad6e7.tar.gz ptxdist-f113f5401bc264ef2a198ce56215a3d6e70ad6e7.tar.xz |
libsemanage: add support for python wrapper
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/libsemanage.in')
-rw-r--r-- | rules/libsemanage.in | 13 |
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 |