From caf904ce19fdca77fafddcb87fdec5c15ee5088f Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Wed, 7 Feb 2024 21:36:51 +0000 Subject: Update README.md Update installation instructions for latest zig master--- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5af3846..c1b6e04 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ const sqlite = b.dependency("sqlite", .{ .optimize = optimize, }); -exe.addModule("sqlite", sqlite.module("sqlite")); +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")); -- cgit v1.2.3