Updated the mason builds so that plugins will find the libmapnik.dylib in certain situations
This commit is contained in:
parent
b48bf5f48e
commit
1fd964d175
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,8 @@ function mason_compile {
|
||||||
if [[ `uname` == 'Darwin' ]]; then
|
if [[ `uname` == 'Darwin' ]]; then
|
||||||
install_name_tool -id @loader_path/libmapnik.dylib ${MASON_PREFIX}"/lib/libmapnik.dylib";
|
install_name_tool -id @loader_path/libmapnik.dylib ${MASON_PREFIX}"/lib/libmapnik.dylib";
|
||||||
for f in ${MASON_PREFIX}"/lib/mapnik/input/*.input"; do
|
for f in ${MASON_PREFIX}"/lib/mapnik/input/*.input"; do
|
||||||
install_name_tool -id @loader_pather/input/`basename $f` $f;
|
install_name_tool -id plugins/input/`basename $f` $f;
|
||||||
|
install_name_tool -change ${MASON_PREFIX}"/lib/libmapnik.dylib" @loader_path/../../libmapnik.dylib $f;
|
||||||
done;
|
done;
|
||||||
fi;
|
fi;
|
||||||
python -c "data=open('$MASON_PREFIX/bin/mapnik-config','r').read();open('$MASON_PREFIX/bin/mapnik-config','w').write(data.replace('$HERE','.'))"
|
python -c "data=open('$MASON_PREFIX/bin/mapnik-config','r').read();open('$MASON_PREFIX/bin/mapnik-config','w').write(data.replace('$HERE','.'))"
|
||||||
|
|
Loading…
Reference in a new issue