aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iproute2/patches/009-keep_libmnl_optional.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/utils/iproute2/patches/009-keep_libmnl_optional.patch')
-rw-r--r--package/network/utils/iproute2/patches/009-keep_libmnl_optional.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/network/utils/iproute2/patches/009-keep_libmnl_optional.patch b/package/network/utils/iproute2/patches/009-keep_libmnl_optional.patch
new file mode 100644
index 0000000000..7a5a702237
--- /dev/null
+++ b/package/network/utils/iproute2/patches/009-keep_libmnl_optional.patch
@@ -0,0 +1,11 @@
+--- a/configure
++++ b/configure
+@@ -292,7 +292,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"