2013-11-22 21:01:32 +01:00
|
|
|
#!/bin/bash
|
2015-04-26 20:32:20 +02:00
|
|
|
# TODO - use rpath to avoid needing this to run tests locally
|
2014-04-29 03:02:14 +02:00
|
|
|
export CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
2015-04-26 20:32:20 +02:00
|
|
|
if [ $(uname -s) = 'Darwin' ]; then
|
2014-05-12 18:20:24 +02:00
|
|
|
export DYLD_LIBRARY_PATH="${CURRENT_DIR}/src/":${DYLD_LIBRARY_PATH}
|
2013-11-22 21:01:32 +01:00
|
|
|
else
|
2014-05-12 18:20:24 +02:00
|
|
|
export LD_LIBRARY_PATH="${CURRENT_DIR}/src/":${LD_LIBRARY_PATH}
|
2015-04-26 20:32:20 +02:00
|
|
|
fi
|