Skip to content

Commit

Permalink
Add pthread to the linker to build under ubuntu VM
Browse files Browse the repository at this point in the history
  • Loading branch information
gdiazlo committed Mar 14, 2019
1 parent e303a6b commit 520a84b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rocksdb/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ package rocksdb
// #cgo LDFLAGS: -lsnappy
// #cgo LDFLAGS: -lstdc++
// #cgo LDFLAGS: -ldl
// #cgo LDFLAGS: -lpthread
// #cgo LDFLAGS: -lm
// #cgo darwin LDFLAGS: -Wl,-undefined -Wl,dynamic_lookup
// #cgo !darwin LDFLAGS: -Wl,-unresolved_symbols=ignore-all -lrt
Expand Down

0 comments on commit 520a84b

Please sign in to comment.