Skip to content

Commit 38e63e1

Browse files
committed
Put native launcher for darwin back
1 parent 2c23c00 commit 38e63e1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tool/jt.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1968,6 +1968,12 @@ def build_graalvm(*options)
19681968
dest = "#{TRUFFLERUBY_DIR}/mxbuild/graalvm"
19691969
FileUtils.rm_rf dest
19701970
FileUtils.cp_r build_dir, dest
1971+
1972+
if MAC && !native
1973+
bin = "#{dest}/jre/languages/ruby/bin"
1974+
FileUtils.mv "#{bin}/truffleruby", "#{bin}/truffleruby.sh"
1975+
FileUtils.cp "#{TRUFFLERUBY_DIR}/tool/native_launcher_darwin", "#{bin}/truffleruby"
1976+
end
19711977
end
19721978

19731979
def build_native_image(*options)

0 commit comments

Comments
 (0)