aboutsummaryrefslogtreecommitdiff
path: root/sqlite3_icu.go
diff options
context:
space:
mode:
authorPavel Zalunin <wr4bbit@gmail.com>2015-08-20 03:02:59 +0300
committerPavel Zalunin <wr4bbit@gmail.com>2015-08-20 03:02:59 +0300
commit715f5e5de0722db907a36a44ddbc8d91dcee76f7 (patch)
treed5a07debf6557a8f3e0188822d94b6cefb6d2e4d /sqlite3_icu.go
parentMerge pull request #227 from gmarik/patch-1 (diff)
downloadgolite-715f5e5de0722db907a36a44ddbc8d91dcee76f7.tar.gz
golite-715f5e5de0722db907a36a44ddbc8d91dcee76f7.tar.xz
added icu extension support
Diffstat (limited to 'sqlite3_icu.go')
-rw-r--r--sqlite3_icu.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/sqlite3_icu.go b/sqlite3_icu.go
new file mode 100644
index 0000000..4c5492b
--- /dev/null
+++ b/sqlite3_icu.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 icu
+
+package sqlite3
+
+/*
+#cgo LDFLAGS: -licuuc -licui18n
+#cgo CFLAGS: -DSQLITE_ENABLE_ICU
+*/
+import "C"