diff options
| author | Tristan Ross <tristan.ross@midstall.com> | 2024-04-19 21:23:22 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-07-17 05:20:24 +0200 |
| commit | 5ef07302d7c22ae53594e34524bd02da4cc36f1b (patch) | |
| tree | 5534257ec975996e7b0d546e7712d326e0ae1424 /lib/std | |
| parent | 680358767e30ac386e6727ffc9295820c598d6b9 (diff) | |
| download | zig-5ef07302d7c22ae53594e34524bd02da4cc36f1b.tar.gz zig-5ef07302d7c22ae53594e34524bd02da4cc36f1b.zip | |
std.Build.Step.ConfigHeader: add the lazy file styled input as a dependency
Diffstat (limited to 'lib/std')
| -rw-r--r-- | lib/std/Build/Step/ConfigHeader.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/std/Build/Step/ConfigHeader.zig b/lib/std/Build/Step/ConfigHeader.zig index cfff4b1c50..e27887693d 100644 --- 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; } |
