ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / package / network / utils / iproute2 / patches / 155-keep_tirpc_optional.patch
1 --- a/configure
2 +++ b/configure
3 @@ -378,7 +378,7 @@ check_selinux()
4
5 check_tirpc()
6 {
7 - if ${PKG_CONFIG} libtirpc --exists; then
8 + if [ "${HAVE_TIRPC}" = "y" ] && ${PKG_CONFIG} libtirpc --exists; then
9 echo "HAVE_RPC:=y" >>$CONFIG
10 echo "yes"
11