From 55f796bf435aec303e89450e53d75ab55bc39b37 Mon Sep 17 00:00:00 2001 From: Kitty-Cricket Piapiac Date: Fri, 4 Aug 2023 19:05:39 -0700 Subject: build.zig: register module this is so it can be referenced by the package manager --- build.zig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build.zig') diff --git a/build.zig b/build.zig index e00e4d9..a604492 100644 --- a/build.zig +++ b/build.zig @@ -184,6 +184,9 @@ pub fn build(b: *std.Build) !void { const target = b.standardTargetOptions(.{}); const optimize = b.standardOptimizeOption(.{}); + var sqlite_module = b.createModule(.{ .source_file = .{ .path = "sqlite.zig" } }); + try b.modules.put(b.dupe("sqlite"), sqlite_module); + // Tool to preprocess the sqlite header files. // // Due to limitations of translate-c the standard header files can't be used for building loadable extensions -- cgit v1.2.3