diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-09-05 11:09:24 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-09-05 11:16:20 +0900 |
commit | 85a483169f8381bec08ff2c9a9fc66167fc8a84a (patch) | |
tree | ea1dad7f58b0e846bcce2d7751456dd15e4d2358 /tool | |
parent | 68a092a4691efc8aba9a8ae7b27c2ad51c840bf9 (diff) |
Use cross compiling settings as fake.rb for snapshots
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/make-snapshot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot index 4c097d6c9b..a54f254dc2 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -436,7 +436,7 @@ def package(vcs, rev, destdir, tmp = nil) # use fallback file end clean.create("config.status", status) - clean.create("noarch-fake.rb") + clean.create("noarch-fake.rb", "require_relative 'cross'\n") FileUtils.mkpath(hdrdir = "#{extout}/include/ruby") File.binwrite("#{hdrdir}/config.h", "") FileUtils.mkpath(defaults = "#{extout}/rubygems/defaults") |