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