Skip to content

Commit

Permalink
fixed android problem (#92)
Browse files Browse the repository at this point in the history
Co-authored-by: mengweifu <[email protected]>
  • Loading branch information
Jackmeng1985 and Jackmeng1985 authored Feb 21, 2023
1 parent 381b931 commit c106280
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: -O2 -g -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-format-security -Wno-implicit-fallthrough -Wno-unused-parameter -Wno-unused-function -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 c106280

Please sign in to comment.