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