From bce6ca75013bc60a05dc6d7ad718b7a3f23439fe Mon Sep 17 00:00:00 2001 From: Zbigniew Mandziejewicz Date: Mon, 18 Apr 2016 19:58:56 +0800 Subject: [PATCH] Disable LoadExtension when omit_load_extension is specified --- sqlite3_libsqlite3.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sqlite3_libsqlite3.go b/sqlite3_libsqlite3.go index 2408228..135863e 100644 --- a/sqlite3_libsqlite3.go +++ b/sqlite3_libsqlite3.go @@ -8,6 +8,7 @@ package sqlite3 /* #cgo CFLAGS: -DUSE_LIBSQLITE3 -#cgo linux darwin LDFLAGS: -lsqlite3 +#cgo linux LDFLAGS: -lsqlite3 +#cgo darwin LDFLAGS: -L/usr/local/opt/sqlite/lib -lsqlite3 */ import "C"