aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iproute2/patches/300-selinux-configurable.patch
blob: 33c5279aec9f194c1fbed07008973c852ef489c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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"