1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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")