Created
December 7, 2009 23:56
-
-
Save vinilios/251251 to your computer and use it in GitHub Desktop.
update linker, compiler.... etc paths
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
LIB_NAME=mylib | |
LIB_PREFIX=~/opt/mylib-0.1 | |
export DYLD_LIBRARY_PATH=$LIB_PREFIX/lib:$DYLD_LIBRARY_PATH | |
export LD_LIBRARY_PATH=$LIB_PREFIX/lib:$LD_LIBRARY_PATH | |
export C_INCLUDE_PATH=$LIB_PREFIX/include | |
export ACLOCAL_PATH=$LIB_PREFIX/share/aclocal | |
export PKG_CONFIG_PATH=$LIB_PREFIX/lib/pkgconfig | |
PATH=$LIB_PREFIX/bin:$PATH | |
PS1="[custom lib shell] \w @ " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment