Skip to content

Commit 1f85ebd

Browse files
authored
Allow building on OpenBSD (#976)
1 parent 628398e commit 1f85ebd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sqlite3.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ package sqlite3
2121
#cgo CFLAGS: -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT
2222
#cgo CFLAGS: -Wno-deprecated-declarations
2323
#cgo linux,!android CFLAGS: -DHAVE_PREAD64=1 -DHAVE_PWRITE64=1
24+
#cgo openbsd CFLAGS: -I/usr/local/include
25+
#cgo openbsd LDFLAGS: -L/usr/local/lib
2426
#ifndef USE_LIBSQLITE3
2527
#include <sqlite3-binding.h>
2628
#else

0 commit comments

Comments
 (0)