mapnik/localize.sh

8 lines
328 B
Bash
Raw Normal View History

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