Updated: one library didn't work, so we're trying another!

This commit is contained in:
Michal Skorczak 2024-12-06 18:14:58 +00:00
parent 466c118e96
commit b9300d489f
2 changed files with 8 additions and 8 deletions

View file

@ -44,15 +44,15 @@ pub fn build(b: *std.Build) void {
exe.root_module.addImport("zap", zap.module("zap"));
const sqlite = b.dependency("sqlite", .{
const zqlite = b.dependency("zqlite", .{
.target = target,
.optimize = optimize,
});
exe.root_module.addImport("sqlite", sqlite.module("sqlite"));
// links the bundled sqlite3, so leave this out if you link the system one
exe.linkLibrary(sqlite.artifact("sqlite"));
exe.linkLibC();
exe.linkSystemLibrary("sqlite3");
exe.root_module.addImport("zqlite", zqlite.module("zqlite"));
// This declares intent for the executable to be installed into the
// standard location when the user invokes the "install" step (the default

View file

@ -27,9 +27,9 @@
.url = "git+https://github.com/zigzap/zap?ref=v0.9.1#ae5c9278335d8e1133cd6d22707323dda712e120",
.hash = "12200223d76ab6cd32f75bc2e31463b0b429bb5b2b6fa4ce8f68dea494ca1ec3398b",
},
.sqlite = .{
.url = "https://github.com/vrischmann/zig-sqlite/archive/712da48cb7f48358ceaa925887c83b6d93887503.tar.gz",
.hash = "1220532d0921c126beed4a9dffe8fac0aae4e7be7b2444d95e4df643da7efcc0ecd5"
.zqlite = .{
.url = "git+https://github.com/karlseguin/zqlite.zig?ref=master#9101f7a731bb5fbd5df2d9fe9e3cd53091a39e76",
.hash = "1220045d9f75ff2f88d546f66f68d55425b2205d0932b6991410925f50fd180fa516",
},
},