140-keep_libmnl_optional.patch 243 B

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