From cbd385286e772bf2787a6b1cf83135f6011a2cd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Fri, 21 Jun 2024 09:40:34 +0200 Subject: [PATCH] Respect `disable-aro` option in build.zig. --- build.zig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.zig b/build.zig index 8b25bdb..eb6a749 100644 --- a/build.zig +++ b/build.zig @@ -107,7 +107,9 @@ pub fn build(b: *std.Build) anyerror!void { .optimize = optimize_opt, }); - graf_mod.addImport("aro", aro_dep.module("aro")); + if (!disable_aro_opt) { + graf_mod.addImport("aro", aro_dep.module("aro")); + } b.installDirectory(.{ .source_dir = aro_dep.path("include"),