diff options
Diffstat (limited to '')
| -rw-r--r-- | build.zig | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -184,6 +184,9 @@ pub fn build(b: *std.Build) !void { | |||
| 184 | const target = b.standardTargetOptions(.{}); | 184 | const target = b.standardTargetOptions(.{}); |
| 185 | const optimize = b.standardOptimizeOption(.{}); | 185 | const optimize = b.standardOptimizeOption(.{}); |
| 186 | 186 | ||
| 187 | var sqlite_module = b.createModule(.{ .source_file = .{ .path = "sqlite.zig" } }); | ||
| 188 | try b.modules.put(b.dupe("sqlite"), sqlite_module); | ||
| 189 | |||
| 187 | // Tool to preprocess the sqlite header files. | 190 | // Tool to preprocess the sqlite header files. |
| 188 | // | 191 | // |
| 189 | // Due to limitations of translate-c the standard header files can't be used for building loadable extensions | 192 | // Due to limitations of translate-c the standard header files can't be used for building loadable extensions |