From 6c89d22b03a1219d0eb29eb69525d2fcf6255ec4 Mon Sep 17 00:00:00 2001 From: Vincent Rischmann Date: Fri, 1 Oct 2021 11:25:53 +0200 Subject: readme: fix git submodule setup instructions Fixes #54 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b57510a..8fabb08 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,8 @@ If you want to use the bundled sqlite source code file, first you need to add it ```zig const sqlite = b.addStaticLibrary("sqlite", null); -sqlite.addCSourceFile("third_party/zig-sqlite/sqlite3.c", &[_][]const u8{"-std=c99"}); +sqlite.addCSourceFile("third_party/zig-sqlite/c/sqlite3.c", &[_][]const u8{"-std=c99"}); +sqlite.addIncludeDir("third_party/zig-sqlite/c"); sqlite.linkLibC(); ``` -- cgit v1.2.3