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