add build dependency when linkerscript is a generated file

This commit is contained in:
Matt Knight 2021-07-28 07:38:36 -07:00 committed by Andrew Kelley
parent 9c028b2078
commit 2f9e498c6f

View File

@ -1731,6 +1731,7 @@ pub const LibExeObjStep = struct {
pub fn setLinkerScriptPath(self: *LibExeObjStep, source: FileSource) void {
self.linker_script = source.dupe(self.builder);
source.addStepDependencies(&self.step);
}
pub fn linkFramework(self: *LibExeObjStep, framework_name: []const u8) void {