bash: add libpath/pkgconfig to extend LD_LIBRARY_PATH and PKG_CONFIG_PATH
This commit is contained in:
3
bashrc.d/libpath.bash
Normal file
3
bashrc.d/libpath.bash
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
if [ -d "$HOME/lib" ] ; then
|
||||||
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/lib
|
||||||
|
fi
|
||||||
4
bashrc.d/pkgconfig.bash
Normal file
4
bashrc.d/pkgconfig.bash
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
if [ -d "$HOME/lib/pkgconfig" ] ; then
|
||||||
|
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$HOME/lib/pkgconfig"
|
||||||
|
fi
|
||||||
|
|
||||||
Reference in New Issue
Block a user