diff --git a/sqlite3_libsqlite3.go b/sqlite3_libsqlite3.go index 83c2ad9..26af573 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 openbsd LDFLAGS: -lsqlite3 #cgo solaris LDFLAGS: -lsqlite3 */ import "C" diff --git a/sqlite3_opt_icu.go b/sqlite3_opt_icu.go index 32a1336..000777f 100644 --- a/sqlite3_opt_icu.go +++ b/sqlite3_opt_icu.go @@ -12,5 +12,6 @@ package sqlite3 #cgo CFLAGS: -DSQLITE_ENABLE_ICU #cgo darwin CFLAGS: -I/usr/local/opt/icu4c/include #cgo darwin LDFLAGS: -L/usr/local/opt/icu4c/lib +#cgo openbsd LDFLAGS: -lsqlite3 */ import "C"