| ... | ... | @@ -1206,6 +1206,10 @@ pub const LibExeObjStep = struct { |
| 1206 | 1206 | pub fn setMainPkgPath(self: *LibExeObjStep, dir_path: []const u8) void { |
| 1207 | 1207 | self.main_pkg_path = dir_path; |
| 1208 | 1208 | } |
| 1209 | |
| 1210 | pub fn setDisableGenH(self: *LibExeObjStep, value: bool) void { |
| 1211 | self.disable_gen_h = value; |
| 1212 | } |
| 1209 | 1213 | |
| 1210 | 1214 | /// Unless setOutputDir was called, this function must be called only in |
| 1211 | 1215 | /// the make step, from a step that has declared a dependency on this one. |
| ... | ... | @@ -1433,6 +1437,9 @@ pub const LibExeObjStep = struct { |
| 1433 | 1437 | if (self.is_dynamic) { |
| 1434 | 1438 | try zig_args.append("-dynamic"); |
| 1435 | 1439 | } |
| 1440 | if (self.disable_gen_h) { |
| 1441 | try zig_args.append("--disable-gen-h"); |
| 1442 | } |
| 1436 | 1443 | |
| 1437 | 1444 | switch (self.target) { |
| 1438 | 1445 | Target.Native => {}, |