Currently we cannot install OpenSSL module properly by zef install OpenSSL in macOS.
This is because OpenSSL module tries to load libssl/libcrypto from /usr/lib, but they are incompatible.
This PR adds Build.pm6, where we probe openssl libraries by brew --prefix openssl.
Currently we cannot install OpenSSL module properly by
zef install OpenSSL
in macOS. This is because OpenSSL module tries to load libssl/libcrypto from /usr/lib, but they are incompatible.This PR adds Build.pm6, where we probe openssl libraries by
brew --prefix openssl
.I think it is reasonable to prefer homebrew's openssl; Net::SSLeay, ruby-build, python-build also prefer homebrew's openssl.
This PR will fix #80, #81.