Skip to content

Lightpanda: the headless browser designed for AI and automation

build: pin dev_fast to the host's glibc version, not 2.43

Adrià Arrufat5dc2535aaea9
diff --git a/build.zig b/build.zig
index 9e9f54ecb..e5da40e6c 100644
--- a/build.zig
+++ b/build.zig
@@ -68,8 +68,8 @@ pub fn build(b: *Build) !void {
.cpu_arch = .x86_64,
.os_tag = .linux,
.abi = .gnu,
- // https://codeberg.org/ziglang/zig/issues/31272
- .glibc_version = .{ .major = 2, .minor = 43, .patch = 0 },
+ // Explicit version => bundled CRT, https://codeberg.org/ziglang/zig/issues/31272
+ .glibc_version = b.graph.host.result.os.version_range.linux.glibc,
}) else requested_target;
// Without an explicit -Dprebuilt_v8_path, pick up whatever `make