You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sqlite3_libsqlite3.go 463B

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 libsqlite3
  6. package sqlite3
  7. /*
  8. #cgo CFLAGS: -DUSE_LIBSQLITE3
  9. #cgo linux LDFLAGS: -lsqlite3
  10. #cgo darwin LDFLAGS: -L/usr/local/opt/sqlite/lib -lsqlite3
  11. #cgo darwin CFLAGS: -I/usr/local/opt/sqlite/include
  12. #cgo openbsd LDFLAGS: -lsqlite3
  13. #cgo solaris LDFLAGS: -lsqlite3
  14. */
  15. import "C"