commit 5ef07302d7c22ae53594e34524bd02da4cc36f1b (tree) parent 680358767e30ac386e6727ffc9295820c598d6b9 Author: Tristan Ross <tristan.ross@midstall.com> Date: Fri, 19 Apr 2024 21:23:22 -0700 std.Build.Step.ConfigHeader: add the lazy file styled input as a dependency Diffstat:
| M | lib/std/Build/Step/ConfigHeader.zig | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/std/Build/Step/ConfigHeader.zig b/lib/std/Build/Step/ConfigHeader.zig @@ -101,6 +101,9 @@ pub fn create(owner: *std.Build, options: Options) *ConfigHeader { .generated_dir = .{ .step = &config_header.step }, }; + if (options.style.getPath()) |s| { + s.addStepDependencies(&config_header.step); + } return config_header; }