aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iproute2/patches/300-selinux-configurable.patch
blob: adfa405c7fc11c3a052e001bfae7ada132f72a07 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/configure
+++ b/configure
@@ -386,7 +386,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"