aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iproute2/patches/155-keep_tirpc_optional.patch
blob: 4ee6245d3b0374cc815c41997a800c990b196a6d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/configure
+++ b/configure
@@ -399,7 +399,7 @@ check_selinux()
 
 check_tirpc()
 {
-	if ${PKG_CONFIG} libtirpc --exists; then
+	if [ "${HAVE_TIRPC}" = "y" ] && ${PKG_CONFIG} libtirpc --exists; then
 		echo "HAVE_RPC:=y" >>$CONFIG
 		echo "yes"