From 0ebdb8beadec92bf6b9935f7a8db461c68fd2c02 Mon Sep 17 00:00:00 2001 From: Bruce Marriner Date: Fri, 4 Mar 2016 09:59:27 -0600 Subject: [PATCH] Conditional build for the FTS5 Extension --- sqlite3_fts5.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 sqlite3_fts5.go diff --git a/sqlite3_fts5.go b/sqlite3_fts5.go new file mode 100644 index 0000000..0e65d69 --- /dev/null +++ b/sqlite3_fts5.go @@ -0,0 +1,13 @@ +// Copyright (C) 2014 Yasuhiro Matsumoto . +// +// 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"