sqlite3_opt_icu.go 428 B

123456789101112131415161718
  1. // Copyright (C) 2019 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
  2. //
  3. // Use of this source code is governed by an MIT-style
  4. // license that can be found in the LICENSE file.
  5. // +build sqlite_icu icu
  6. package sqlite3
  7. /*
  8. #cgo LDFLAGS: -licuuc -licui18n
  9. #cgo CFLAGS: -DSQLITE_ENABLE_ICU
  10. #cgo darwin CFLAGS: -I/usr/local/opt/icu4c/include
  11. #cgo darwin LDFLAGS: -L/usr/local/opt/icu4c/lib
  12. #cgo openbsd LDFLAGS: -lsqlite3
  13. */
  14. import "C"