diff --git a/source/dub/generators/build.d b/source/dub/generators/build.d index 1f1f50b..1bddbcf 100644 --- a/source/dub/generators/build.d +++ b/source/dub/generators/build.d @@ -340,7 +340,7 @@ scope(exit) chdir(cwd.toNativeString()); if (!exe_file_path.absolute) exe_file_path = cwd ~ exe_file_path; auto exe_path_string = exe_file_path.relativeTo(runcwd).toNativeString(); - version (OSX) { // spawnProcess on OS X requires an explicit path to the executable + version (Posix) { // spawnProcess on Posix systems requires an explicit path to the executable if (!exe_path_string.startsWith(".") && !exe_path_string.startsWith("/")) exe_path_string = "./" ~ exe_path_string; }