diff options
Diffstat (limited to 'lib/compilers/assembly.ts')
-rw-r--r-- | lib/compilers/assembly.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/compilers/assembly.ts b/lib/compilers/assembly.ts index ff08ffee3..0ef165840 100644 --- a/lib/compilers/assembly.ts +++ b/lib/compilers/assembly.ts @@ -157,10 +157,11 @@ export class AssemblyCompiler extends BaseCompiler { ), ); + const downloads = await buildEnvironment; + const execOptions = this.getDefaultExecOptions(); - execOptions.ldPath = this.getSharedLibraryPathsAsLdLibraryPaths(key.libraries); + execOptions.ldPath = this.getSharedLibraryPathsAsLdLibraryPaths(key.libraries, dirPath); - const downloads = await buildEnvironment; const result = await this.buildExecutable(key.compiler.exe, compilerArguments, inputFilename, execOptions); const fullResult: BuildResult = { |