150-keep_libcap_optional.patch 231 B

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