hack to use libsqlite3

$ go build -tags "libsqlite3 windows"
This commit is contained in:
Yasuhiro Matsumoto
2015-06-12 13:26:42 +09:00
parent 542ae647f8
commit ee9da4840d
6 changed files with 155278 additions and 155256 deletions

13
sqlite3_libsqlite3.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 libsqlite3
package sqlite3
/*
#cgo CFLAGS: -DUSE_LIBSQLITE3
#cgo LDFLAGS: -lsqlite3
*/
import "C"