Skip to content

Commit

Permalink
fix: add openssl path support
Browse files Browse the repository at this point in the history
  • Loading branch information
seantrane committed May 6, 2022
1 parent a37ca81 commit 53defb0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions osx/path.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@
if type "brew" &> /dev/null && [[ "$(brew ls --versions coreutils)" ]]; then
export PATH="$(brew --prefix coreutils)/libexec/gnubin:$PATH"
fi

# openssl support:
if type "brew" &> /dev/null && [[ "$(brew ls --versions openssl)" ]]; then
export PATH="/usr/local/opt/[email protected]/bin:$PATH"

export LDFLAGS="-L/usr/local/opt/[email protected]/lib"
export CPPFLAGS="-I/usr/local/opt/[email protected]/include"
export PKG_CONFIG_PATH="/usr/local/opt/[email protected]/lib/pkgconfig"
fi

# MAMP support:
if [[ -d "/Applications/MAMP/Library/bin" ]]; then
export PATH="/Applications/MAMP/Library/bin:$PATH"
Expand Down

0 comments on commit 53defb0

Please sign in to comment.