[build] Mac OS build using upgraded openssl library

Signed-off-by: Leo Chen <leo@harmony.one>
pull/3318/head
Leo Chen 4 years ago
parent c3e6113322
commit 40771eaa10
  1. 3
      README.md
  2. 2
      scripts/go_executable_build.sh

@ -16,13 +16,14 @@ http://api.hmny.io/
## Requirements
### **Go 1.14.1**
### **Go 1.14.7**
### **GMP and OpenSSL**
On macOS:
```bash
brew install gmp
brew install openssl
sudo ln -sf /usr/local/opt/openssl@1.1 /usr/local/opt/openssl
```
On Linux (Ubuntu)
```bash

@ -37,7 +37,7 @@ if [ "$(uname -s)" == "Darwin" ]; then
LIB[libmcl.dylib]=${MCL_DIR}/lib/libmcl.dylib
LIB[libgmp.10.dylib]=/usr/local/opt/gmp/lib/libgmp.10.dylib
LIB[libgmpxx.4.dylib]=/usr/local/opt/gmp/lib/libgmpxx.4.dylib
LIB[libcrypto.1.0.0.dylib]=/usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
LIB[libcrypto.1.1.dylib]=/usr/local/opt/openssl/lib/libcrypto.1.1.dylib
else
MD5=md5sum
LIB[libbls384_256.so]=${BLS_DIR}/lib/libbls384_256.so

Loading…
Cancel
Save