github.com/CanonicalLtd/go-sqlite3@v1.6.0/sqlite3_libsqlite3.go (about)

     1  // Copyright (C) 2014 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  
     7  package sqlite3
     8  
     9  /*
    10  #cgo CFLAGS: -DUSE_LIBSQLITE3
    11  #cgo linux LDFLAGS: -lsqlite3
    12  #cgo darwin LDFLAGS: -L/usr/local/opt/sqlite/lib -lsqlite3
    13  #cgo solaris LDFLAGS: -lsqlite3
    14  */
    15  import "C"