Skip to content

Commit

Permalink
musl check
Browse files Browse the repository at this point in the history
  • Loading branch information
ViralBShah committed Aug 12, 2023
1 parent db026c4 commit d24ba30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/GZip.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import Base: show, fd, close, flush, truncate, seek,
readline, write, unsafe_write, peek

# Load one of the platform-specific Clang.jl generated wrappers
const IS_LIBC_MUSL = occursin("musl", Base.BUILD_TRIPLET)
if Sys.isapple() && Sys.ARCH === :aarch64
include("lib/aarch64-apple-darwin20.jl")
elseif Sys.islinux() && Sys.ARCH === :aarch64 && !IS_LIBC_MUSL
Expand Down

0 comments on commit d24ba30

Please sign in to comment.