28ba7e52176d510f4b58350bf2697836f0280873
[openwrt/openwrt.git] / package / network / utils / iproute2 / patches / 155-keep_tirpc_optional.patch
1 --- a/configure
2 +++ b/configure
3 @@ -398,7 +398,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