diff --git a/init_unix.go b/init_unix.go index 5c09da86..dbf5ac44 100644 --- a/init_unix.go +++ b/init_unix.go @@ -2,7 +2,7 @@ package openssl -// #cgo LDFLAGS: -ldl -pthread +// #cgo LDFLAGS: -ldl // #include // #include import "C" diff --git a/internal/ossl/ossl_cgo.go b/internal/ossl/ossl_cgo.go index 04d2d52a..3f708d55 100644 --- a/internal/ossl/ossl_cgo.go +++ b/internal/ossl/ossl_cgo.go @@ -5,6 +5,7 @@ package ossl /* #include "ossl_extra.h" #include +#cgo linux LDFLAGS: -ldl -pthread */ import "C" import "unsafe"