Skip to content

Commit

Permalink
Add a minor fix for aarch64-apple-darwin20
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnimuc committed Apr 8, 2024
1 parent 32462cb commit 5b69a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/system.jl
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ function get_system_includes!(env::MacEnv, prefix::String, isys::Vector{String})
joinpath(prefix, triple, "sys-root", "System", "Library", "Frameworks"))
end
else # "aarch64-apple-darwin20"
ver = VersionNumber(version.major,version.minor,version.patch)
if env.is_cxx
ver = VersionNumber(version.major,version.minor,version.patch)
push!(isys, joinpath(prefix, triple, "include", "c++", string(ver)))
push!(isys, joinpath(prefix, triple, "include", "c++", string(ver), triple))
push!(isys, joinpath(prefix, triple, "include", "c++", string(ver), "backward"))
Expand Down

0 comments on commit 5b69a88

Please sign in to comment.