added icu extension support

This commit is contained in:
Pavel Zalunin
2015-08-20 03:02:59 +03:00
parent 3dc190a017
commit 715f5e5de0
2 changed files with 17 additions and 0 deletions

13
sqlite3_icu.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 icu
package sqlite3
/*
#cgo LDFLAGS: -licuuc -licui18n
#cgo CFLAGS: -DSQLITE_ENABLE_ICU
*/
import "C"