Skip to content

Commit d5ffe5c

Browse files
authored
[Runner] Fix value of LD environment variable for macOS (#156)
1 parent 4b262c5 commit d5ffe5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Runner.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,7 @@ function platform_envs(platform::AbstractPlatform, src_name::AbstractString;
979979

980980
# If we're on macOS, we give a hint to things like `configure` that they should use this as the linker
981981
if Sys.isapple(platform)
982-
mapping["LD"] = "/opt/$(target)/bin/ld64.macos"
982+
mapping["LD"] = "/opt/bin/$(triplet(platform))/ld"
983983
mapping["MACOSX_DEPLOYMENT_TARGET"] = "10.8"
984984
end
985985

0 commit comments

Comments
 (0)