Skip to content

Commit

Permalink
Link statically against pthreads
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterthanlime committed Jun 30, 2018
1 parent 3f55bce commit 279c3b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sqlite.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ package sqlite
// #cgo CFLAGS: -DSQLITE_ENABLE_PREUPDATE_HOOK
// #cgo CFLAGS: -DSQLITE_USE_ALLOCA
// #cgo CFLAGS: -DSQLITE_ENABLE_COLUMN_METADATA
// #cgo windows LDFLAGS: -Wl,-Bstatic -lwinpthread -Wl,-Bdynamic
// #cgo linux LDFLAGS: -ldl -lm
// #cgo linux CFLAGS: -std=c99
// #cgo openbsd LDFLAGS: -lm
Expand Down

0 comments on commit 279c3b2

Please sign in to comment.