logrotate: enable selinux support
authorAdam Duskett <Aduskett@gmail.com>
Tue, 7 Feb 2017 14:04:11 +0000 (09:04 -0500)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 7 Feb 2017 16:40:15 +0000 (17:40 +0100)
commit61c8273e2357f6aab202f6c8653f85f21c3c4f7a
tree7a8900aa540a0f24bfcfd951c3065d1c99db0034
parent10366edf000756cf1eda9563691d6cf747df6ebe
logrotate: enable selinux support

Selinux is currently disabled staticly in logrotate. This patch fixes
this by checking for libselinux and adding it as a dependecy if it has
been selected.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/logrotate/logrotate.mk