diff options
author | Gert-Jan Timmer <gjr.timmer@gmail.com> | 2018-05-25 11:41:14 +0200 |
---|---|---|
committer | Gert-Jan Timmer <gjr.timmer@gmail.com> | 2018-05-25 11:41:14 +0200 |
commit | 5abd024785fc4b5916fa6296a7c4542d2ec07fbe (patch) | |
tree | d363ed8f2b4ae18a4755957414d96bb9b8bc3abd | |
parent | Reduced build time (diff) | |
download | golite-5abd024785fc4b5916fa6296a7c4542d2ec07fbe.tar.gz golite-5abd024785fc4b5916fa6296a7c4542d2ec07fbe.tar.xz |
Fix: OSX icu module
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | sqlite3_opt_icu.go | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 4071647..914e92e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -157,7 +157,7 @@ before_install: - | if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update - brew install icu4c + brew upgrade icu4c fi - | if [[ "${GOOS}" != "windows" ]]; then diff --git a/sqlite3_opt_icu.go b/sqlite3_opt_icu.go index 8807aef..9bc0c61 100644 --- a/sqlite3_opt_icu.go +++ b/sqlite3_opt_icu.go @@ -9,5 +9,7 @@ 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" |