diff --git a/libflux/go/libflux/link_dynamic.go b/libflux/go/libflux/link_dynamic.go index badb80e8ca..8e37a77c7f 100644 --- a/libflux/go/libflux/link_dynamic.go +++ b/libflux/go/libflux/link_dynamic.go @@ -4,4 +4,5 @@ package libflux // #cgo pkg-config: flux +// #cgo windows LDFLAGS: -lbcrypt import "C" diff --git a/libflux/go/libflux/link_static.go b/libflux/go/libflux/link_static.go index 81a09f04b2..2c24e1f4ce 100644 --- a/libflux/go/libflux/link_static.go +++ b/libflux/go/libflux/link_static.go @@ -5,4 +5,5 @@ package libflux // #cgo pkg-config: --static flux // #cgo LDFLAGS: -static +// #cgo windows LDFLAGS: -lbcrypt import "C"