diff options
author | mattn <mattn.jp@gmail.com> | 2018-05-26 01:45:24 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-26 01:45:24 +0900 |
commit | c5dd6c3c878a875458fd734804b7cfc0a8a893cc (patch) | |
tree | f49b47f4a19b384563e22ba7165c2efeb64d41f3 /sqlite3_opt_icu.go | |
parent | Merge pull request #562 from GJRTimmer/fix/travis-ci (diff) | |
parent | Merge branch 'fix/darwin-icu' into update/options (diff) | |
download | golite-c5dd6c3c878a875458fd734804b7cfc0a8a893cc.tar.gz golite-c5dd6c3c878a875458fd734804b7cfc0a8a893cc.tar.xz |
Merge pull request #563 from GJRTimmer/update/options
Add Additional Features / Options
Diffstat (limited to 'sqlite3_opt_icu.go')
-rw-r--r-- | sqlite3_opt_icu.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sqlite3_opt_icu.go b/sqlite3_opt_icu.go new file mode 100644 index 0000000..9bc0c61 --- /dev/null +++ b/sqlite3_opt_icu.go @@ -0,0 +1,15 @@ +// 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 sqlite_icu icu + +package sqlite3 + +/* +#cgo LDFLAGS: -licuuc -licui18n +#cgo CFLAGS: -DSQLITE_ENABLE_ICU +#cgo darwin CFLAGS: -I/usr/local/opt/icu4c/include +#cgo darwin LDFLAGS: -L/usr/local/opt/icu4c/lib +*/ +import "C" |