diff --git a/mason_latest.sh b/mason_latest.sh index 777b7371c..f2f0d2d29 100755 --- a/mason_latest.sh +++ b/mason_latest.sh @@ -16,7 +16,8 @@ function mason_compile { if [[ `uname` == 'Darwin' ]]; then install_name_tool -id @loader_path/libmapnik.dylib ${MASON_PREFIX}"/lib/libmapnik.dylib"; 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; fi; python -c "data=open('$MASON_PREFIX/bin/mapnik-config','r').read();open('$MASON_PREFIX/bin/mapnik-config','w').write(data.replace('$HERE','.'))"