Skip to content

Commit 5abd024

Browse files
committed
Fix: OSX icu module
1 parent 59885cf commit 5abd024

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ before_install:
157157
- |
158158
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
159159
brew update
160-
brew install icu4c
160+
brew upgrade icu4c
161161
fi
162162
- |
163163
if [[ "${GOOS}" != "windows" ]]; then

sqlite3_opt_icu.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ package sqlite3
99
/*
1010
#cgo LDFLAGS: -licuuc -licui18n
1111
#cgo CFLAGS: -DSQLITE_ENABLE_ICU
12+
#cgo darwin CFLAGS: -I/usr/local/opt/icu4c/include
13+
#cgo darwin LDFLAGS: -L/usr/local/opt/icu4c/lib
1214
*/
1315
import "C"

0 commit comments

Comments
 (0)