Skip to content

Instantly share code, notes, and snippets.

@Hultner
Created February 7, 2019 14:36
Show Gist options
  • Save Hultner/685832beecf32a359b810b43c1dd5bef to your computer and use it in GitHub Desktop.
Save Hultner/685832beecf32a359b810b43c1dd5bef to your computer and use it in GitHub Desktop.
zlib
# Install zlib
brew install zlib
# Add zlib-variables to your shell.
tee -a ~/.profile <<<CONF
export PKG_CONFIG_PATH="/usr/local/opt/zlib/lib/pkgconfig"
export LDFLAGS="-L/usr/local/opt/zlib/lib"
export CPPFLAGS="-I/usr/local/opt/zlib/include"
CONF
# Restart your shell
trap $SHELL EXIT && exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment