1 Debian patch touch this file
-
always use libsqlite3
- Author
- Shengjing Zhu <[email protected]>
- Forwarded
- not-needed
| 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 libsqlite3 |
| 7 | |
| 8 | package sqlite3 |
| 9 | |
| 10 | /* |
| 11 | #cgo CFLAGS: -DUSE_LIBSQLITE3 |
| 12 | #cgo linux LDFLAGS: -lsqlite3 |
| 13 | #cgo darwin,amd64 LDFLAGS: -L/usr/local/opt/sqlite/lib -lsqlite3 |
| 14 | #cgo darwin,amd64 CFLAGS: -I/usr/local/opt/sqlite/include |
| 15 | #cgo darwin,arm64 LDFLAGS: -L/opt/homebrew/opt/sqlite/lib -lsqlite3 |
| 16 | #cgo darwin,arm64 CFLAGS: -I/opt/homebrew/opt/sqlite/include |
| 17 | #cgo openbsd LDFLAGS: -lsqlite3 |
| 18 | #cgo solaris LDFLAGS: -lsqlite3 |
| 19 | #cgo windows LDFLAGS: -lsqlite3 |
| 20 | #cgo zos LDFLAGS: -lsqlite3 |
| 21 | */ |
| 22 | import "C" |