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 | 8 |
1 files changed, 4 insertions, 4 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 index 697a6471a7..505f0221e3 100644 --- a/package/network/utils/iproute2/patches/140-keep_libmnl_optional.patch +++ b/package/network/utils/iproute2/patches/140-keep_libmnl_optional.patch @@ -1,11 +1,11 @@ --- a/configure +++ b/configure -@@ -281,7 +281,7 @@ check_selinux() +@@ -254,7 +254,7 @@ check_selinux() check_mnl() { -- if ${PKG_CONFIG} libmnl --exists -+ if [ "${HAVE_MNL}" = "y" ] && ${PKG_CONFIG} libmnl --exists - then +- if ${PKG_CONFIG} libmnl --exists; then ++ if [ "${HAVE_MNL}" = "y" ] && ${PKG_CONFIG} libmnl --exists; then echo "HAVE_MNL:=y" >>$CONFIG echo "yes" + |