Skip to content

Instantly share code, notes, and snippets.

@lisanhu
Last active April 2, 2019 20:29
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 lisanhu/364af3e0edce5180779ecdbd9b936ed9 to your computer and use it in GitHub Desktop.
Save lisanhu/364af3e0edce5180779ecdbd9b936ed9 to your computer and use it in GitHub Desktop.
custom lib path settings
# Custom lib home
export LIB_HOME=/home/lisanhu/mine/lib;
# Normal lib config
export PATH=$LIB_HOME/bin:$PATH;
export CPATH=$LIB_HOME/include:$CPATH;
export MANPATH=$MANPATH:$LIB_HOME/share/man;
export LIBRARY_PATH=$LIB_HOME/lib:$LIBRARY_PATH; # for static libraries
export LD_LIBRARY_PATH=$LIB_HOME/lib:$LD_LIBRARY_PATH; # for dynamic libraries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment