std.Build.Step.ConfigHeader: add the lazy file styled input as a dependency

This commit is contained in:
Tristan Ross 2024-04-19 21:23:22 -07:00 committed by Andrew Kelley
parent 680358767e
commit 5ef07302d7

View file

@ -101,6 +101,9 @@ pub fn create(owner: *std.Build, options: Options) *ConfigHeader {
.generated_dir = .{ .step = &config_header.step }, .generated_dir = .{ .step = &config_header.step },
}; };
if (options.style.getPath()) |s| {
s.addStepDependencies(&config_header.step);
}
return config_header; return config_header;
} }