Skip to content

Commit

Permalink
Pass the linkerFlags for emscripten
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Mar 15, 2024
1 parent ca9437f commit 500afa6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions kmake/src/Exporters/EmscriptenExporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ export class EmscriptenExporter extends Exporter {

linkerFlags += ' -o ' + executableName + '.html --preload-file ' + this.debugDirName(project);

this.make = new MakeExporter(options, 'emcc', 'emcc', '', '', '', '.html', this.libsLine);
this.ninja = new NinjaExporter(options, 'emcc', 'emcc', '', '', '', '.html', this.libsLine);
this.make = new MakeExporter(options, 'emcc', 'emcc', '', '', linkerFlags, '.html', this.libsLine);
this.ninja = new NinjaExporter(options, 'emcc', 'emcc', '', '', linkerFlags, '.html', this.libsLine);
}

libsLine(project: Project): string {
Expand Down
4 changes: 2 additions & 2 deletions lib/kmake/Exporters/EmscriptenExporter.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/kmake/Exporters/EmscriptenExporter.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 500afa6

Please sign in to comment.