diff options
| author | EuAndreh <eu@euandre.org> | 2024-10-05 03:19:35 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2024-10-05 03:41:10 -0300 |
| commit | cbfa529eff56cda5f98989adf92db5a7da3c06ef (patch) | |
| tree | a10b5e6045b28ed75ef507aa2bcdeccdc6af09ef | |
| parent | src/golite.go: Remove other undesirable configurations from Open() (diff) | |
| download | golite-cbfa529eff56cda5f98989adf92db5a7da3c06ef.tar.gz golite-cbfa529eff56cda5f98989adf92db5a7da3c06ef.tar.xz | |
src/golite.go: Reify "premises" section with custom build of SQLite (acude)
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | src/golite.go | 12 |
2 files changed, 3 insertions, 11 deletions
@@ -17,7 +17,7 @@ MANDIR = $(SHAREDIR)/man EXEC = ./ ## Where to store the installation. Empty by default. DESTDIR = -LDLIBS = --static -lsqlite3 -lm +LDLIBS = --static -lacude -lm GOCFLAGS = -I $(GOLIBDIR) GOLDFLAGS = -L $(GOLIBDIR) diff --git a/src/golite.go b/src/golite.go index e489ea5..be02de6 100644 --- a/src/golite.go +++ b/src/golite.go @@ -19,19 +19,11 @@ import ( "syscall" ) -/* -Premises: -- FTS5 -- (default) foreign keys -- ICU -- (default) AUTOVACUUM -- SQLITE_THREADSAFE -- column metadata -*/ + /* #include <stdlib.h> -#include <sqlite3.h> +#include <acude.h> void stepTrampoline(sqlite3_context *, int, sqlite3_value **); void doneTrampoline(sqlite3_context *); |
