mirror of https://github.com/mattn/go-sqlite3.git
Fix: OSX icu module
This commit is contained in:
parent
59885cf9d4
commit
5abd024785
|
@ -157,7 +157,7 @@ before_install:
|
||||||
- |
|
- |
|
||||||
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||||
brew update
|
brew update
|
||||||
brew install icu4c
|
brew upgrade icu4c
|
||||||
fi
|
fi
|
||||||
- |
|
- |
|
||||||
if [[ "${GOOS}" != "windows" ]]; then
|
if [[ "${GOOS}" != "windows" ]]; then
|
||||||
|
|
|
@ -9,5 +9,7 @@ package sqlite3
|
||||||
/*
|
/*
|
||||||
#cgo LDFLAGS: -licuuc -licui18n
|
#cgo LDFLAGS: -licuuc -licui18n
|
||||||
#cgo CFLAGS: -DSQLITE_ENABLE_ICU
|
#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"
|
import "C"
|
||||||
|
|
Loading…
Reference in New Issue