Skip to content

Instantly share code, notes, and snippets.

@nsforge
Created October 7, 2013 02:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nsforge/6861644 to your computer and use it in GitHub Desktop.
Save nsforge/6861644 to your computer and use it in GitHub Desktop.
Things I've added to my .bash_profile to get C code compiling nicely with libraries installed via Homebrew
# Homebrew path config
export PATH="$PATH:/usr/local/bin:/usr/local/sbin"
export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/lib"
export CPATH="$CPATH:/usr/local/include"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment