Created
June 7, 2015 02:35
-
-
Save tpimh/00598a02dfbfbb6cf7a0 to your computer and use it in GitHub Desktop.
This file contains 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
for i in /mingw/addons/* ; do | |
if [ -d $i ]; then | |
if [ -d $i/bin ]; then | |
export PATH="$PATH:$i/bin" | |
fi | |
if [ -d $i/include ]; then | |
export CPATH="$CPATH;$i/include" | |
fi | |
if [ -d $i/lib ]; then | |
export LIBRARY_PATH="$LIBRARY_PATH;$i/lib" | |
fi | |
if [ -d $i/lib/pkgconfig ]; then | |
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$i/lib/pkgconfig" | |
fi | |
if [ -d $i/share/pkgconfig ]; then | |
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$i/share/pkgconfig" | |
fi | |
if [ -f $i/install.sh ]; then | |
. $i/install.sh | |
fi | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment