Skip to content

Commit

Permalink
Base.BUILD_TRIPLET -> Sys.MACHINE
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnimuc committed May 19, 2021
1 parent 6593c9b commit 77a7138
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LibCURL.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function __init__()
global cacert = MozillaCACerts_jll.cacert
end

const IS_LIBC_MUSL = occursin("musl", Base.BUILD_TRIPLET)
const IS_LIBC_MUSL = occursin("musl", Sys.MACHINE)

if Sys.isapple() && Sys.ARCH === :aarch64
include("../lib/aarch64-apple-darwin20.jl")
Expand Down Expand Up @@ -45,7 +45,7 @@ elseif Sys.isbsd() && !Sys.isapple()
elseif Sys.iswindows() && Sys.ARCH === :x86_64
include("../lib/x86_64-w64-mingw32.jl")
else
error("Unknown platform: $(Base.BUILD_TRIPLET)")
error("Unknown platform: $(Sys.MACHINE)")
end

# curl_share_setopt, curl_easy_getinfo, curl_easy_setopt, and curl_multi_setopt are vararg C functions
Expand Down

0 comments on commit 77a7138

Please sign in to comment.