Her0R0cket 3283cc4324
iproute2: disable SELinux for now (#5328)
follow openwrt:iproute2: disable SELinux for now
2020-08-20 16:01:01 +08:00

12 lines
311 B
Diff

--- a/configure
+++ b/configure
@@ -244,7 +244,7 @@ check_elf()
check_selinux()
# SELinux is a compile time option in the ss utility
{
- if ${PKG_CONFIG} libselinux --exists; then
+ if [ "${HAVE_SELINUX}" = "y" ] && ${PKG_CONFIG} libselinux --exists; then
echo "HAVE_SELINUX:=y" >>$CONFIG
echo "yes"