do inherit dynamic library path
This commit is contained in:
parent
57c9aee63d
commit
0465a4d43a
1 changed files with 2 additions and 2 deletions
|
@ -2,9 +2,9 @@
|
|||
UNAME=$(uname -s)
|
||||
export CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
if [ ${UNAME} = 'Darwin' ]; then
|
||||
export DYLD_LIBRARY_PATH="${CURRENT_DIR}/src/"
|
||||
export DYLD_LIBRARY_PATH="${CURRENT_DIR}/src/":${DYLD_LIBRARY_PATH}
|
||||
else
|
||||
export LD_LIBRARY_PATH="${CURRENT_DIR}/src/"
|
||||
export LD_LIBRARY_PATH="${CURRENT_DIR}/src/":${LD_LIBRARY_PATH}
|
||||
fi
|
||||
export PYTHONPATH="${CURRENT_DIR}/bindings/python/":$PYTHONPATH
|
||||
export MAPNIK_FONT_DIRECTORY="${CURRENT_DIR}/fonts/dejavu-fonts-ttf-2.33/ttf/"
|
||||
|
|
Loading…
Reference in a new issue