817abf7d17ac0da772a79f322142d9d5bfdec1f9
[openwrt/staging/stintel.git] / package / network / utils / iproute2 / patches / 300-selinux-configurable.patch
1 --- a/configure
2 +++ b/configure
3 @@ -385,7 +385,7 @@ check_libbpf()
4 check_selinux()
5 # SELinux is a compile time option in the ss utility
6 {
7 - if ${PKG_CONFIG} libselinux --exists; then
8 + if [ "${HAVE_SELINUX}" = "y" ] && ${PKG_CONFIG} libselinux --exists; then
9 echo "HAVE_SELINUX:=y" >>$CONFIG
10 echo "yes"
11