Debian Codegraph @

sqlite3_opt_icu.go

raw
1 // Copyright (C) 2019 Yasuhiro Matsumoto <[email protected]>.
2 //
3 // Use of this source code is governed by an MIT-style
4 // license that can be found in the LICENSE file.
5
6 //go:build sqlite_icu || icu
7
8 package sqlite3
9
10 /*
11 #cgo LDFLAGS: -licuuc -licui18n
12 #cgo CFLAGS: -DSQLITE_ENABLE_ICU
13 #cgo darwin,amd64 CFLAGS: -I/usr/local/opt/icu4c/include
14 #cgo darwin,amd64 LDFLAGS: -L/usr/local/opt/icu4c/lib
15 #cgo darwin,arm64 CFLAGS: -I/opt/homebrew/opt/icu4c/include
16 #cgo darwin,arm64 LDFLAGS: -L/opt/homebrew/opt/icu4c/lib
17 #cgo openbsd LDFLAGS: -lsqlite3
18 */
19 import "C"