summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-09-05 11:09:24 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-09-05 11:16:20 +0900
commit85a483169f8381bec08ff2c9a9fc66167fc8a84a (patch)
treeea1dad7f58b0e846bcce2d7751456dd15e4d2358 /tool
parent68a092a4691efc8aba9a8ae7b27c2ad51c840bf9 (diff)
Use cross compiling settings as fake.rb for snapshots
Diffstat (limited to 'tool')
-rwxr-xr-xtool/make-snapshot2
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")