Commit 442f70c4 authored by Guillaume Pasero's avatar Guillaume Pasero

BUG: Mantis-1365: set rpath in _otbApplication.so

parent 4fea1157
......@@ -58,7 +58,10 @@ if [ "$I_AM_XDK" = false ] ; then
$INSTALL_NAME_TOOL "-rpath" "@ORIGINAL_RPATH_TO_REPLACE@" "$OUT_DIR/lib" "$app_file"
fi
done
if [ -f "$OUT_DIR/lib/python/_otbApplication.so" ]; then
$INSTALL_NAME_TOOL "-rpath" "@ORIGINAL_RPATH_TO_REPLACE@" "$OUT_DIR/lib" "$OUT_DIR/lib/python/_otbApplication.so"
fi
rm -fr "Mapla.app"
rm -fr "Monteveridi.app"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment