class RbSys::Mkmf::Config

def rubygems_invoked?

install, to remove bloat.
We want to know this so we can cleanup the target directory after an
Seems to be the only way to reliably know if we were invoked by Rubygems.
def rubygems_invoked?
  ENV.key?("SOURCE_DATE_EPOCH")
end