forked from mirror/go-sqlite3
Allow building on OpenBSD (#976)
This commit is contained in:
parent
628398eed2
commit
1f85ebd7c4
|
@ -21,6 +21,8 @@ package sqlite3
|
|||
#cgo CFLAGS: -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT
|
||||
#cgo CFLAGS: -Wno-deprecated-declarations
|
||||
#cgo linux,!android CFLAGS: -DHAVE_PREAD64=1 -DHAVE_PWRITE64=1
|
||||
#cgo openbsd CFLAGS: -I/usr/local/include
|
||||
#cgo openbsd LDFLAGS: -L/usr/local/lib
|
||||
#ifndef USE_LIBSQLITE3
|
||||
#include <sqlite3-binding.h>
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue