build: fix handling disabling .h file generation
parent
cfcaf09cce
commit
786700249e
|
@ -2135,7 +2135,7 @@ pub const LibExeObjStep = struct {
|
|||
try zig_args.append("-isystem");
|
||||
try zig_args.append(self.builder.pathFromRoot(include_path));
|
||||
},
|
||||
.OtherStep => |other| {
|
||||
.OtherStep => |other| if (!other.disable_gen_h) {
|
||||
const h_path = other.getOutputHPath();
|
||||
try zig_args.append("-isystem");
|
||||
try zig_args.append(fs.path.dirname(h_path).?);
|
||||
|
|
Loading…
Reference in New Issue