Skip to content

Commit

Permalink
Build: support minimal link flags (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang authored Jan 20, 2023
1 parent a036050 commit bb759a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion non_builtin.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build !testing
//go:build !testing && !grocksdb_clean_link

package grocksdb

Expand Down
6 changes: 6 additions & 0 deletions non_builtin_clean_link.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
//go:build !testing && grocksdb_clean_link

package grocksdb

// #cgo LDFLAGS: -lrocksdb -pthread -lstdc++ -ldl
import "C"

0 comments on commit bb759a8

Please sign in to comment.