diff options
author | mattn <mattn.jp@gmail.com> | 2019-08-20 00:43:48 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-20 00:43:48 +0900 |
commit | e24345b069d4892cade3b897a2e806287f76d03f (patch) | |
tree | e9e24da6692f74d65e0c9393cd891ae5e6932fb9 | |
parent | Merge pull request #735 from mahler/master (diff) | |
parent | darwin/libsqlite3: Also use the homebrew include path (diff) | |
download | golite-e24345b069d4892cade3b897a2e806287f76d03f.tar.gz golite-e24345b069d4892cade3b897a2e806287f76d03f.tar.xz |
Merge pull request #734 from gwd/out/fix-libsqlite3-darwin-build
darwin/libsqlite3: Also use the homebrew include path
-rw-r--r-- | sqlite3_libsqlite3.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sqlite3_libsqlite3.go b/sqlite3_libsqlite3.go index 26af573..9788f57 100644 --- a/sqlite3_libsqlite3.go +++ b/sqlite3_libsqlite3.go @@ -11,6 +11,7 @@ package sqlite3 #cgo CFLAGS: -DUSE_LIBSQLITE3 #cgo linux LDFLAGS: -lsqlite3 #cgo darwin LDFLAGS: -L/usr/local/opt/sqlite/lib -lsqlite3 +#cgo darwin CFLAGS: -I/usr/local/opt/sqlite/include #cgo openbsd LDFLAGS: -lsqlite3 #cgo solaris LDFLAGS: -lsqlite3 */ |