aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compilers')
-rw-r--r--lib/compilers/clean.js2
-rw-r--r--lib/compilers/win32.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/compilers/clean.js b/lib/compilers/clean.js
index dd998b655..88a7d0a2d 100644
--- a/lib/compilers/clean.js
+++ b/lib/compilers/clean.js
@@ -82,7 +82,7 @@ export class CleanCompiler extends BaseCompiler {
execOptions = this.getDefaultExecOptions();
execOptions.customCwd = tmpDir;
execOptions.env.CLEANLIB = path.join(compilerPath, '../exe');
- execOptions.env.CLEANPATH = this.compiler.libPath;
+ execOptions.env.CLEANPATH = this.compiler.libPath.join(':');
options.pop();
options.push(moduleName);
diff --git a/lib/compilers/win32.js b/lib/compilers/win32.js
index 220fcf952..3c06bbbe0 100644
--- a/lib/compilers/win32.js
+++ b/lib/compilers/win32.js
@@ -163,7 +163,7 @@ export class Win32Compiler extends BaseCompiler {
options.env['INCLUDE'] = this.compiler.includePath;
}
if (this.compiler.libPath) {
- options.env['LIB'] = this.compiler.libPath;
+ options.env['LIB'] = this.compiler.libPath.join(';');
}
for (const [env, to] of this.compiler.envVars) {
options.env[env] = to;