diff options
author | Partouf <partouf@gmail.com> | 2018-10-06 14:59:06 +0200 |
---|---|---|
committer | Partouf <partouf@gmail.com> | 2018-10-06 23:56:52 +0200 |
commit | 4b9dd0b5f3152d09fa94d183e45e311f96503c6a (patch) | |
tree | 519c59096a8e6ea329a96d28625e3778b47bcb4d /lib/compilers/clean.js | |
parent | 5621ff77d48bb184d476b44adad0bf39f18cbdf8 (diff) | |
download | compiler-explorer-4b9dd0b5f3152d09fa94d183e45e311f96503c6a.tar.gz compiler-explorer-4b9dd0b5f3152d09fa94d183e45e311f96503c6a.zip |
std libraries via libPath
Diffstat (limited to 'lib/compilers/clean.js')
-rw-r--r-- | lib/compilers/clean.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/compilers/clean.js b/lib/compilers/clean.js index bd4bb1d3d..ca5c699a3 100644 --- a/lib/compilers/clean.js +++ b/lib/compilers/clean.js @@ -48,11 +48,7 @@ class CleanCompiler extends BaseCompiler { execOptions = this.getDefaultExecOptions(); execOptions.customCwd = tmpDir; execOptions.env.CLEANLIB = path.join(compilerPath, "../exe"); - execOptions.env.CLEANPATH = [ - path.join(compilerPath, "../StdEnv"), - path.join(compilerPath, "../data/StdLib"), - path.join(compilerPath, "../data/Directory") - ].join(":"); + execOptions.env.CLEANPATH = this.compiler.libPath; options.pop(); options.push(moduleName); return super.runCompiler(compiler, options, moduleName, execOptions).then(result => { |