Skip to content

Commit

Permalink
Remove executable from args
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuem committed Jul 19, 2024
1 parent 055fd43 commit 01a6846
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkgs/native_toolchain_c/lib/src/cbuilder/run_clinker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,6 @@ class RunCLinker {
framework,
],
],
if (executable != null) ...[
'-o',
outDir.resolveUri(executable!).toFilePath(),
],
if (dynamicLibrary != null) ...[
'--shared',
'-o',
Expand All @@ -284,6 +280,7 @@ class RunCLinker {
'-o',
outFile!.toFilePath(),
],
...linkerOptions.flags(compiler.tool),
],
logger: logger,
captureOutput: false,
Expand Down

0 comments on commit 01a6846

Please sign in to comment.