diff options
Diffstat (limited to 'package/network/utils/iproute2/patches/140-keep_libmnl_optional.patch')
-rw-r--r-- | package/network/utils/iproute2/patches/140-keep_libmnl_optional.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/network/utils/iproute2/patches/140-keep_libmnl_optional.patch b/package/network/utils/iproute2/patches/140-keep_libmnl_optional.patch new file mode 100644 index 0000000000..697a6471a7 --- /dev/null +++ b/package/network/utils/iproute2/patches/140-keep_libmnl_optional.patch @@ -0,0 +1,11 @@ +--- 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" |