setupenv: Add workaround for LD_LIBRARY_PATH on Cygwin
parent
5ff8a871ad
commit
57a86cba47
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue