lede/package/network/utils/iproute2/patches/140-keep_libmnl_optional.patch

12 lines
236 B
Diff
Raw Normal View History

2018-01-15 18:26:41 +08:00
--- a/configure
+++ b/configure
@@ -281,7 +281,7 @@ check_selinux()
2018-01-15 18:26:41 +08:00
check_mnl()
{
- if ${PKG_CONFIG} libmnl --exists
+ if [ "${HAVE_MNL}" = "y" ] && ${PKG_CONFIG} libmnl --exists
then
echo "HAVE_MNL:=y" >>$CONFIG
echo "yes"