File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ package ffi
7
7
// #cgo linux,amd64 LDFLAGS: ${SRCDIR}/native/linux/libpolar.a -ldl -lm
8
8
// #cgo darwin,amd64 LDFLAGS: ${SRCDIR}/native/macos/amd64/libpolar.a -ldl -lm
9
9
// #cgo darwin,arm64 LDFLAGS: ${SRCDIR}/native/macos/arm64/libpolar.a -ldl -lm
10
- // #cgo windows,amd64 LDFLAGS: ${SRCDIR}/native/windows/libpolar.a -lm -lws2_32 -luserenv
10
+ // #cgo windows,amd64 LDFLAGS: ${SRCDIR}/native/windows/libpolar.a -lm -lws2_32 -luserenv -lbcrypt
11
11
import "C"
12
12
13
13
import (
Original file line number Diff line number Diff line change 21
21
libs .append ("Ws2_32.lib" )
22
22
libs .append ("advapi32.lib" )
23
23
libs .append ("userenv.lib" )
24
+ libs .append ("bcrypt.lib" )
24
25
else :
25
26
libs .append (lib_dirs [env ] + "/libpolar.a" )
26
27
include_dir = include_dirs [env ]
You can’t perform that action at this time.
0 commit comments