diff --git a/setupenv.bashrc b/setupenv.bashrc index a7718e3..03faf7d 100644 --- a/setupenv.bashrc +++ b/setupenv.bashrc @@ -42,6 +42,10 @@ function build { echo "Added aliases and functions." export PATH="$PROJECT_BASE_DIR/bin:$PROJECT_BASE_DIR/bin/tools:$PROJECT_BASE_DIR/scripts/tools:$PATH" +if uname -s | tr [:upper:] [:lower:] | grep cygwin >/dev/null; then + echo "Adding cygwin workaound for library path." + export PATH="$PROJECT_BASE_DIR/lib:$PATH" +fi echo "PATH is $PATH" if [ -z "$LD_LIBRARY_PATH" ]; then