summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index 12192e6..02d312e 100644
--- a/build.zig
+++ b/build.zig
@@ -212,6 +212,9 @@ pub fn build(b: *Build) void {
// field name, through the real dlopen path and the headless host.
const v1 = sb.app(.{ .name = "counter", .root_source_file = b.path("test/counter_v1.zig") }).addLibrary();
const v2 = sb.app(.{ .name = "counter", .root_source_file = b.path("test/counter_v2.zig") }).addLibrary();
+ // v2 through the linker `-fincremental` uses, whose 0.17.1 libraries
+ // glibc loads only after the host's fixup (`withoutVersym`).
+ v2.use_new_linker = true;
// Command.shape on the native host: the parity cases, screenshotted
// and checked pixel by pixel (tools/shapes_web.mjs compares the same
// sketch in headless Chrome: `zig build test-web`).