140-keep_libmnl_optional.patch 236 B

1234567891011
  1. --- a/configure
  2. +++ b/configure
  3. @@ -281,7 +281,7 @@ check_selinux()
  4. check_mnl()
  5. {
  6. - if ${PKG_CONFIG} libmnl --exists
  7. + if [ "${HAVE_MNL}" = "y" ] && ${PKG_CONFIG} libmnl --exists
  8. then
  9. echo "HAVE_MNL:=y" >>$CONFIG
  10. echo "yes"