697a6471a7ac500f403ec76c43d690a7eafe0ffa
[openwrt/openwrt.git] / package / network / utils / iproute2 / patches / 140-keep_libmnl_optional.patch
1 --- a/configure
2 +++ b/configure
3 @@ -281,7 +281,7 @@ check_selinux()
4
5 check_mnl()
6 {
7 - if ${PKG_CONFIG} libmnl --exists
8 + if [ "${HAVE_MNL}" = "y" ] && ${PKG_CONFIG} libmnl --exists
9 then
10 echo "HAVE_MNL:=y" >>$CONFIG
11 echo "yes"