diff options
author | Patrick Quist <partouf@gmail.com> | 2021-03-05 22:40:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-05 22:40:18 +0100 |
commit | 29236dd92cf2453e57f06a7cf044d38f85eaed48 (patch) | |
tree | 89b3b987bb806a8bebe3f292db33d22f3b497cb1 /lib/compilers | |
parent | d166b56a55c02efb50c8a74758b814ea574e9857 (diff) | |
download | compiler-explorer-29236dd92cf2453e57f06a7cf044d38f85eaed48.tar.gz compiler-explorer-29236dd92cf2453e57f06a7cf044d38f85eaed48.zip |
Attempt at refactoring to better separate ldpaths and libpaths (#2452)
* attempt at refactoring to better separate ldpaths and libpaths
* fix doc
* fix doc
* bugfix win32 libpaths
* add ldPath to getVersion query environment
Diffstat (limited to 'lib/compilers')
-rw-r--r-- | lib/compilers/clean.js | 2 | ||||
-rw-r--r-- | lib/compilers/win32.js | 2 |
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; |