openwrt/package/network/utils/iproute2/patches/300-selinux-configurable.patch

12 lines
314 B
Diff
Raw Normal View History

--- a/configure
+++ b/configure
@@ -354,7 +354,7 @@ check_libbpf()
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"