300-selinux-configurable.patch 314 B

1234567891011
  1. --- a/configure
  2. +++ b/configure
  3. @@ -336,7 +336,7 @@ check_libbpf()
  4. check_selinux()
  5. # SELinux is a compile time option in the ss utility
  6. {
  7. - if ${PKG_CONFIG} libselinux --exists; then
  8. + if [ "${HAVE_SELINUX}" = "y" ] && ${PKG_CONFIG} libselinux --exists; then
  9. echo "HAVE_SELINUX:=y" >>$CONFIG
  10. echo "yes"