Now fake.rb is needed to prepare sources

This commit is contained in:
Nobuyoshi Nakada 2022-09-03 21:57:17 +09:00
parent a01271c1c4
commit 2767cb2825
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6

View File

@ -436,6 +436,7 @@ def package(vcs, rev, destdir, tmp = nil)
# use fallback file
end
clean.create("config.status", status)
clean.create("noarch-fake.rb")
FileUtils.mkpath(hdrdir = "#{extout}/include/ruby")
File.binwrite("#{hdrdir}/config.h", "")
FileUtils.mkpath(defaults = "#{extout}/rubygems/defaults")