Disable LoadExtension when omit_load_extension is specified

This commit is contained in:
Zbigniew Mandziejewicz 2016-04-18 19:58:56 +08:00
parent 4bc448f79b
commit bce6ca7501
1 changed files with 2 additions and 1 deletions

View File

@ -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"