Skip to content

Instantly share code, notes, and snippets.

@svipy9
Created April 4, 2020 05:55
Show Gist options
  • Save svipy9/d57c2c49421a483102a8465cdd798dc8 to your computer and use it in GitHub Desktop.
Save svipy9/d57c2c49421a483102a8465cdd798dc8 to your computer and use it in GitHub Desktop.
# 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