iproute2: disable SELinux for now
[openwrt/openwrt.git] / package / network / utils / iproute2 / patches / 300-selinux-configurable.patch
1 --- a/configure
2 +++ b/configure
3 @@ -244,7 +244,7 @@ check_elf()
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