diff --git a/build/commands/lib/config.js b/build/commands/lib/config.js index b618a39865e2..ae0f7d35b40f 100755 --- a/build/commands/lib/config.js +++ b/build/commands/lib/config.js @@ -925,7 +925,7 @@ Object.defineProperty(Config.prototype, 'outputDir', { if (this.targetArch && this.targetArch != 'x64') { buildConfigDir = buildConfigDir + '_' + this.targetArch } - if (this.targetOS) { + if (this.targetOS && (this.targetOS === 'android' || this.targetOS === 'ios')) { buildConfigDir = this.targetOS + "_" + buildConfigDir } if (this.targetEnvironment) {