This commit is contained in:
Nishi 2026-05-09 19:19:44 +09:00
commit 7ce5bd3cf3
Signed by: nishi
GPG key ID: 27EF69B208EB9343
3 changed files with 36 additions and 6 deletions

View file

@ -46,7 +46,11 @@ Watcom.link = function(target, files) {
return "library \"" + x + "\"";
}
return "wlink option quiet system nt name " + this.output(target) + " " + files.map(add_file).join(" ") + " " + pmake.libs(target, add_lib).map(add_library).join(" ");
function add_libpath(x) {
return "libpath \"" + x + "\"";
}
return "wlink option quiet system nt name " + this.output(target) + " " + files.map(add_file).join(" ") + " " + pmake.libdirs(target).map(add_libpath).join(" ") + " " + pmake.libs(target, add_lib).map(add_library).join(" ");
}
return "";