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_libsqlite3.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_libsqlite3.go')
-rw-r--r-- | sqlite3_libsqlite3.go | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/sqlite3_libsqlite3.go b/sqlite3_libsqlite3.go deleted file mode 100644 index 6ef2308..0000000 --- a/sqlite3_libsqlite3.go +++ /dev/null @@ -1,23 +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 libsqlite3 -// +build libsqlite3 - -package sqlite3 - -/* -#cgo CFLAGS: -DUSE_LIBSQLITE3 -#cgo linux LDFLAGS: -lsqlite3 -#cgo darwin,amd64 LDFLAGS: -L/usr/local/opt/sqlite/lib -lsqlite3 -#cgo darwin,amd64 CFLAGS: -I/usr/local/opt/sqlite/include -#cgo darwin,arm64 LDFLAGS: -L/opt/homebrew/opt/sqlite/lib -lsqlite3 -#cgo darwin,arm64 CFLAGS: -I/opt/homebrew/opt/sqlite/include -#cgo openbsd LDFLAGS: -lsqlite3 -#cgo solaris LDFLAGS: -lsqlite3 -#cgo windows LDFLAGS: -lsqlite3 -#cgo zos LDFLAGS: -lsqlite3 -*/ -import "C" |