From a7de802f90d1f09519ccc45894050704200ae78b Mon Sep 17 00:00:00 2001 From: xeodou Date: Fri, 3 Apr 2015 11:52:28 +0800 Subject: [PATCH] Add fts3 flags. --- sqlite3.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sqlite3.go b/sqlite3.go index c5c1a0c..2250261 100644 --- a/sqlite3.go +++ b/sqlite3.go @@ -8,6 +8,8 @@ package sqlite3 /* #cgo CFLAGS: -std=gnu99 #cgo CFLAGS: -DSQLITE_HAS_CODEC +#cgo CFLAGS: -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE +#cgo CFLAGS: -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS #cgo LDFLAGS: -lcrypto #include #include