Is it intentional though? build.go has these two hardcoded paths for darwin: // #cgo darwin CFLAGS: -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/openssl/include // #cgo darwin LDFLAGS: -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/openssl/lib -lssl -lcrypto Shouldn't it instead use pkg-config like windows and linux? // #cgo linux darwin windows pkg-config: libssl libcrypto