aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iproute2/patches/009-keep_libmnl_optional.patch
blob: 697a6471a7ac500f403ec76c43d690a7eafe0ffa (plain)
1
2
3
4
5
6
7
8
9
10
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"