| ... | @@ -77,10 +77,12 @@ pub fn create(owner: *std.Build, artifact: *Step.Compile, options: Options) *Ins | ... | @@ -77,10 +77,12 @@ pub fn create(owner: *std.Build, artifact: *Step.Compile, options: Options) *Ins |
| 77 | }, | 77 | }, |
| 78 | .h_dir = switch (options.h_dir) { | 78 | .h_dir = switch (options.h_dir) { |
| 79 | .disabled => null, | 79 | .disabled => null, |
| 80 | .default => switch (artifact.kind) { | 80 | // https://github.com/ziglang/zig/issues/9698 |
| 81 | .lib => .header, | 81 | .default => null, |
| 82 | else => null, | 82 | //.default => switch (artifact.kind) { |
| 83 | }, | 83 | // .lib => .header, |
| | 84 | // else => null, |
| | 85 | //}, |
| 84 | .override => |o| o, | 86 | .override => |o| o, |
| 85 | }, | 87 | }, |
| 86 | .implib_dir = switch (options.implib_dir) { | 88 | .implib_dir = switch (options.implib_dir) { |