| ... | @@ -1,9 +1,13 @@ | ... | @@ -1,9 +1,13 @@ |
| 1 | const std = @import("std"); | 1 | const std = @import("std"); |
| | 2 | const builtin = @import("builtin"); |
| 2 | | 3 | |
| 3 | pub fn build(b: *std.Build) void { | 4 | pub fn build(b: *std.Build) void { |
| 4 | const test_step = b.step("test", "Test it"); | 5 | const test_step = b.step("test", "Test it"); |
| 5 | b.default_step = test_step; | 6 | b.default_step = test_step; |
| 6 | | 7 | |
| | 8 | // https://codeberg.org/ziglang/zig/issues/36013 |
| | 9 | if (builtin.os.tag == .freebsd) return; |
| | 10 | |
| 7 | const config_header = b.addConfigHeader( | 11 | const config_header = b.addConfigHeader( |
| 8 | .{ .style = .{ .autoconf_undef = b.path("autoconf_undef/config.h.in") } }, | 12 | .{ .style = .{ .autoconf_undef = b.path("autoconf_undef/config.h.in") } }, |
| 9 | .{ | 13 | .{ |