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