| ... | @@ -81,6 +81,9 @@ pub fn addExecutable(translate_c: *TranslateC, options: AddExecutableOptions) *S | ... | @@ -81,6 +81,9 @@ pub fn addExecutable(translate_c: *TranslateC, options: AddExecutableOptions) *S |
| 81 | pub fn addModule(translate_c: *TranslateC, name: []const u8) *std.Build.Module { | 81 | pub fn addModule(translate_c: *TranslateC, name: []const u8) *std.Build.Module { |
| 82 | return translate_c.step.owner.addModule(name, .{ | 82 | return translate_c.step.owner.addModule(name, .{ |
| 83 | .root_source_file = translate_c.getOutput(), | 83 | .root_source_file = translate_c.getOutput(), |
| | 84 | .target = translate_c.target, |
| | 85 | .optimize = translate_c.optimize, |
| | 86 | .link_libc = translate_c.link_libc, |
| 84 | }); | 87 | }); |
| 85 | } | 88 | } |
| 86 | | 89 | |