Files
openwrt-18.06/package/network/utils/iproute2/patches/009-keep_libmnl_optional.patch
2025-06-24 15:51:28 +02:00

12 lines
236 B
Diff

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