Skip to content

Commit 6006091

Browse files
committed
Don't overwrite symlinks.
1 parent dea1d05 commit 6006091

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Runner.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,9 @@ function generate_compiler_wrappers!(platform::AbstractPlatform; bin_path::Abstr
10641064
# Create symlinks for default compiler invocations
10651065
for tool in default_tools
10661066
symlink("$(target)-$(tool)", joinpath(bin_path, triplet(platform), tool))
1067-
symlink("$(host_target)-$(tool)", joinpath(bin_path, triplet(host_platform), tool))
1067+
if target != host_target
1068+
symlink("$(host_target)-$(tool)", joinpath(bin_path, triplet(host_platform), tool))
1069+
end
10681070
end
10691071

10701072
# Generate other fake system-specific tools.

0 commit comments

Comments
 (0)