| ... | ... | @@ -1112,6 +1112,10 @@ fn linkLibraryOrObject(self: *CompileStep, other: *CompileStep) void { |
| 1112 | 1112 | self.step.dependOn(&other.step); |
| 1113 | 1113 | self.link_objects.append(.{ .other_step = other }) catch @panic("OOM"); |
| 1114 | 1114 | self.include_dirs.append(.{ .other_step = other }) catch @panic("OOM"); |
| 1115 | |
| 1116 | for (other.installed_headers.items) |install_step| { |
| 1117 | self.step.dependOn(install_step); |
| 1118 | } |
| 1115 | 1119 | } |
| 1116 | 1120 | |
| 1117 | 1121 | fn appendModuleArgs( |
| ... | ... | @@ -1699,9 +1703,6 @@ fn make(step: *Step, prog_node: *std.Progress.Node) !void { |
| 1699 | 1703 | try zig_args.append(fs.path.dirname(h_path).?); |
| 1700 | 1704 | } |
| 1701 | 1705 | if (other.installed_headers.items.len > 0) { |
| 1702 | | for (other.installed_headers.items) |install_step| { |
| 1703 | | try install_step.make(prog_node); |
| 1704 | | } |
| 1705 | 1706 | try zig_args.append("-I"); |
| 1706 | 1707 | try zig_args.append(b.pathJoin(&.{ |
| 1707 | 1708 | other.step.owner.install_prefix, "include", |