summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-11-30 12:40:12 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-11-30 12:40:12 +0900
commitd20a120b03a6bb39f06958abf0e04222960a58ab (patch)
treec55606532c7fb64133d3842446e0cd2509313628 /tool
parent316caf6b39a26ed764a1bd1da58291fc5e7ebd52 (diff)
Recent systems prohibit symlink for relative loading
Diffstat (limited to 'tool')
-rwxr-xr-xtool/mkrunnable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/mkrunnable.rb b/tool/mkrunnable.rb
index 62ace28980..ca1295c7fb 100755
--- a/tool/mkrunnable.rb
+++ b/tool/mkrunnable.rb
@@ -54,7 +54,7 @@ end
alias ln_dir_safe ln_safe
case RUBY_PLATFORM
-when /linux/
+when /linux/, /darwin/, /solaris/
def ln_exe(src, dest)
ln(src, dest, force: true)
end