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

12 lines
241 B
Diff

--- a/configure
+++ b/configure
@@ -411,7 +411,7 @@ check_tirpc()
check_mnl()
{
- if ${PKG_CONFIG} libmnl --exists; then
+ if [ "${HAVE_MNL}" = "y" ] && ${PKG_CONFIG} libmnl --exists; then
echo "HAVE_MNL:=y" >>$CONFIG
echo "yes"