From 25ecb14adfc7543176f7d85291ec7dba82c6f7e4 Mon Sep 17 00:00:00 2001 From: Gert-Jan Timmer Date: Wed, 30 May 2018 15:44:54 +0200 Subject: [PATCH] Add: OpenBSD Fixes #321 --- sqlite3_libsqlite3.go | 1 + sqlite3_opt_icu.go | 1 + 2 files changed, 2 insertions(+) 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"