Skip to content

Commit

Permalink
Enable FTS5
Browse files Browse the repository at this point in the history
This requires linking the mathematical library, libm.
  • Loading branch information
otoolep committed Aug 10, 2023
1 parent 61eaaff commit 2bb4bdc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sqlite3.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ package sqlite3
#cgo CFLAGS: -DHAVE_USLEEP=1
#cgo CFLAGS: -DSQLITE_ENABLE_FTS3
#cgo CFLAGS: -DSQLITE_ENABLE_FTS3_PARENTHESIS
#cgo CFLAGS: -DSQLITE_ENABLE_FTS5
#cgo LDFLAGS: -lm
#cgo CFLAGS: -DSQLITE_TRACE_SIZE_LIMIT=15
#cgo CFLAGS: -DSQLITE_OMIT_DEPRECATED
#cgo CFLAGS: -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1
Expand Down

0 comments on commit 2bb4bdc

Please sign in to comment.