h69k/package/network/utils/iproute2/patches/155-keep_tirpc_optional.patch
2024-09-29 22:35:28 +08:00

12 lines
251 B
Diff

--- a/configure
+++ b/configure
@@ -398,7 +398,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"