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