aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Marriner <bruce@sqls.net>2016-03-04 09:59:27 -0600
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2016-03-07 16:20:02 +0900
commit0ebdb8beadec92bf6b9935f7a8db461c68fd2c02 (patch)
tree01886824b4abeb40069f2d97be551e7b5622ffb5
parentMerge pull request #278 from rkintzi/json1 (diff)
downloadgolite-0ebdb8beadec92bf6b9935f7a8db461c68fd2c02.tar.gz
golite-0ebdb8beadec92bf6b9935f7a8db461c68fd2c02.tar.xz
Conditional build for the FTS5 Extension
-rw-r--r--sqlite3_fts5.go13
1 files changed, 13 insertions, 0 deletions
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 <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"