Changed version of openssl@3
This commit is contained in:
parent
22d356d95a
commit
35b539bfdc
13
.zshrc
13
.zshrc
@ -115,11 +115,16 @@ if [[ "$(uname)" == "Darwin" ]]; then
|
|||||||
export GO111MODULE=on
|
export GO111MODULE=on
|
||||||
|
|
||||||
# Other export
|
# Other export
|
||||||
export PATH="/usr/local/opt/openssl@3/bin:$PATH"
|
export OPENSSLVER=$(ls "/opt/homebrew/Cellar/openssl@3/" |
|
||||||
|
sort |
|
||||||
|
grep -iE '[0-9]+\.[0-9]+\.' |
|
||||||
|
tail -n1)
|
||||||
|
|
||||||
|
export PATH="/opt/homebrew/Cellar/openssl@3/$OPENSSLVER/bin:$PATH"
|
||||||
export PATH="/opt/homebrew/bin:$PATH"
|
export PATH="/opt/homebrew/bin:$PATH"
|
||||||
export LDFLAGS="-L/usr/local/opt/openssl@3/lib"
|
export LDFLAGS="-L/opt/homebrew/Cellar/openssl@3/$OPENSSLVER/lib"
|
||||||
export CPPFLAGS="-I/usr/local/opt/openssl@3/include"
|
export CPPFLAGS="-I/opt/homebrew/Cellar/openssl@3/$OPENSSLVER/include"
|
||||||
export PKG_CONFIG_PATH="/usr/local/opt/openssl@3/lib/pkgconfig"
|
export PKG_CONFIG_PATH="/opt/homebrew/openssl@3/$OPENSSLVER/lib/pkgconfig"
|
||||||
export GOROOT="$(brew --prefix golang)/libexec"
|
export GOROOT="$(brew --prefix golang)/libexec"
|
||||||
export PATH=$PATH:$GOPATH/bin
|
export PATH=$PATH:$GOPATH/bin
|
||||||
export PATH=$PATH:$GOROOT/bin
|
export PATH=$PATH:$GOROOT/bin
|
||||||
|
Loading…
Reference in New Issue
Block a user