Add fts3 flags.

This commit is contained in:
xeodou 2015-04-03 11:52:28 +08:00
parent b81936c4b2
commit a7de802f90
1 changed files with 2 additions and 0 deletions

View File

@ -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 <sqlite3-binding.h>
#include <stdlib.h>