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
77// #cgo linux,amd64 LDFLAGS: ${SRCDIR}/native/linux/libpolar.a -ldl -lm
88// #cgo darwin,amd64 LDFLAGS: ${SRCDIR}/native/macos/amd64/libpolar.a -ldl -lm
99// #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
1111import "C"
1212
1313import (
Original file line number Diff line number Diff line change 2121 libs .append ("Ws2_32.lib" )
2222 libs .append ("advapi32.lib" )
2323 libs .append ("userenv.lib" )
24+ libs .append ("bcrypt.lib" )
2425else :
2526 libs .append (lib_dirs [env ] + "/libpolar.a" )
2627include_dir = include_dirs [env ]
You can’t perform that action at this time.
0 commit comments