Conditional build for the FTS5 Extension

This commit is contained in:
Bruce Marriner 2016-03-04 09:59:27 -06:00 committed by Yasuhiro Matsumoto
parent 45f056ca8f
commit 0ebdb8bead
1 changed files with 13 additions and 0 deletions

13
sqlite3_fts5.go Normal file
View File

@ -0,0 +1,13 @@
// Copyright (C) 2014 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
//
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file.
// +build fts5
package sqlite3
/*
#cgo CFLAGS: -DSQLITE_ENABLE_FTS5
#cgo LDFLAGS: -lm
*/
import "C"