diff -r c5b3860d29ef -r b6dacf6eabe3 src/Pure/Admin/build_polyml.scala --- a/src/Pure/Admin/build_polyml.scala Wed Nov 28 15:38:18 2018 +0100 +++ b/src/Pure/Admin/build_polyml.scala Wed Nov 28 16:14:31 2018 +0100 @@ -183,7 +183,7 @@ for (file <- ldd_files) { bash(target, """install_name_tool -change """ + Bash.string(file) + " " + - Bash.string("@executable_path/" + Path.explode(file).base_name) + " poly").check + Bash.string("@executable_path/" + Path.explode(file).file_name) + " poly").check } }