This commit is contained in:
Nishi 2026-05-10 00:25:40 +09:00
commit eb56a27a4d
Signed by: nishi
GPG key ID: 27EF69B208EB9343

View file

@ -101,10 +101,10 @@ pmake.isCxx = function(src) {
pmake.pathTransform = function(target) {
return function(x) {
if(x == "." || x == ".." || x.startsWith("./") || x.startsWith("../")) {
return target.base + "/" + x;
} else {
if(x.startsWith("/") || x.match(/^[A-Za-z]+:\//)) {
return x;
} else {
return target.base + "/" + x;
}
};
};