diff options
author | EuAndreh <eu@euandre.org> | 2024-08-12 15:42:56 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-08-12 15:52:16 -0300 |
commit | 6bbc33b9e998af7ee45cca86e1290474603dff48 (patch) | |
tree | 5d0aff47783bc20dcf3f7862afdba0445e4c2fae /sqlite3_opt_icu.go | |
parent | Add Makefile and build skeleton (diff) | |
download | golite-6bbc33b9e998af7ee45cca86e1290474603dff48.tar.gz golite-6bbc33b9e998af7ee45cca86e1290474603dff48.tar.xz |
Build with "go tool" and hackishly bundle code from same package into one file each
Diffstat (limited to 'sqlite3_opt_icu.go')
-rw-r--r-- | sqlite3_opt_icu.go | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/sqlite3_opt_icu.go b/sqlite3_opt_icu.go deleted file mode 100644 index 2d47827..0000000 --- a/sqlite3_opt_icu.go +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (C) 2019 Yasuhiro Matsumoto <mattn.jp@gmail.com>. -// -// Use of this source code is governed by an MIT-style -// license that can be found in the LICENSE file. - -//go:build sqlite_icu || icu -// +build sqlite_icu icu - -package sqlite3 - -/* -#cgo LDFLAGS: -licuuc -licui18n -#cgo CFLAGS: -DSQLITE_ENABLE_ICU -#cgo darwin,amd64 CFLAGS: -I/usr/local/opt/icu4c/include -#cgo darwin,amd64 LDFLAGS: -L/usr/local/opt/icu4c/lib -#cgo darwin,arm64 CFLAGS: -I/opt/homebrew/opt/icu4c/include -#cgo darwin,arm64 LDFLAGS: -L/opt/homebrew/opt/icu4c/lib -#cgo openbsd LDFLAGS: -lsqlite3 -*/ -import "C" |