From f8905661995e6c78e588e7be69f8e28c51241d7a Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Tue, 10 Sep 2024 17:20:20 +0300 Subject: [PATCH] db.sqlite: add instructions for installing SQLite's amalgamation or development package, if it is missing --- vlib/db/sqlite/sqlite.c.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vlib/db/sqlite/sqlite.c.v b/vlib/db/sqlite/sqlite.c.v index a75400e5da..ab118cd7d4 100644 --- a/vlib/db/sqlite/sqlite.c.v +++ b/vlib/db/sqlite/sqlite.c.v @@ -8,12 +8,12 @@ $if windows { #flag windows -I@VEXEROOT/thirdparty/sqlite #flag windows -L@VEXEROOT/thirdparty/sqlite #flag windows @VEXEROOT/thirdparty/sqlite/sqlite3.o + #include "sqlite3.h" # The SQLite header file is missing. Please run .github/workflows/windows-install-sqlite.bat to download an SQLite amalgamation. } $else { #flag -lsqlite3 + #include "sqlite3.h" # The SQLite header file is missing. Please install its development package first. } -#include "sqlite3.h" - // https://www.sqlite.org/rescode.html pub const sqlite_ok = 0 pub const sqlite_error = 1