diff --git a/sqlite3_darwin.go b/sqlite3_darwin.go new file mode 100644 index 0000000..b87c1a1 --- /dev/null +++ b/sqlite3_darwin.go @@ -0,0 +1,6 @@ +package sqlite + +/* +#cgo CFLAGS: -I. +*/ +import "C" diff --git a/sqlite3_other.go b/sqlite3_other.go index 7e428cc..b97dae4 100644 --- a/sqlite3_other.go +++ b/sqlite3_other.go @@ -1,8 +1,9 @@ -// +build !windows +// +build !windows, !darwin package sqlite /* #cgo CFLAGS: -I. +#cgo LDFLAGS: -ldl */ import "C"