Skip to content

Commit

Permalink
Merge pull request #193 from glwagner/glw/powerpc-safe
Browse files Browse the repository at this point in the history
Check if NetCDF_jll `is_available` before loading code
  • Loading branch information
Alexander-Barth authored Dec 9, 2022
2 parents fbd73ca + 25e60b5 commit ffeb27a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NCDatasets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ using Printf
function __init__()
# https://github.com/JuliaPackaging/Yggdrasil/pull/5319#issuecomment-1221042734
if VERSION < v"1.9"
init_certificate_authority()
NetCDF_jll.is_available() && init_certificate_authority()
end
end

Expand Down

0 comments on commit ffeb27a

Please sign in to comment.