Skip to content

Commit

Permalink
fixed android problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackmeng1985 committed Feb 3, 2023
1 parent 8d7e1e2 commit fc0b627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mdbx/mdbx.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ package mdbx
#cgo windows CFLAGS: -DMDBX_BUILD_FLAGS='' -DNDEBUG=1 -std=gnu11 -fvisibility=hidden -ffast-math -fexceptions -fno-common -W -Wno-deprecated-declarations -Wno-bad-function-cast -Wno-cast-function-type -Wall -Wno-format -Wno-implicit-fallthrough -Wno-unused-parameter -Wno-format-extra-args -Wno-missing-field-initializers
#cgo windows LDFLAGS: -lntdll
#cgo linux LDFLAGS: -lrt
#cgo !android,linux LDFLAGS: -lrt
*/
import "C"

Expand Down

0 comments on commit fc0b627

Please sign in to comment.