mirror of https://github.com/mattn/go-sqlite3.git
hack to use libsqlite3
$ go build -tags "libsqlite3 windows"
This commit is contained in:
parent
542ae647f8
commit
ee9da4840d
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
147782
sqlite3-binding.c
147782
sqlite3-binding.c
File diff suppressed because it is too large
Load Diff
7479
sqlite3-binding.h
7479
sqlite3-binding.h
File diff suppressed because it is too large
Load Diff
|
@ -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"
|
Loading…
Reference in New Issue