This commit is contained in:
Nishi 2026-05-12 08:56:10 +09:00
commit 31415c8fc0

View file

@ -229,9 +229,9 @@ POSIXCompiler.prototype.link = function(target, files) {
var c = ""; var c = "";
var cxx = target.sources.filter(pmake.isCxx); var cxx = target.sources.filter(pmake.isCxx);
if(!cxx || cxx.length == 0) { if(!cxx || cxx.length == 0) {
c = this.prefix + this.cc; c = this.cc;
} else { } else {
c = this.prefix + this.cxx; c = this.cxx;
} }
function add_l(x) { function add_l(x) {