mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
std.Build.Step.ConfigHeader: add the lazy file styled input as a dependency
This commit is contained in:
parent
680358767e
commit
5ef07302d7
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue