diff --git a/build.go b/build.go index d3f19d82..990fbb4b 100644 --- a/build.go +++ b/build.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build !openssl_static // +build !openssl_static package openssl diff --git a/build_static.go b/build_static.go index 69fad0a4..dde54461 100644 --- a/build_static.go +++ b/build_static.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build openssl_static // +build openssl_static package openssl diff --git a/init_posix.go b/init_posix.go index 605a24bc..f518d2f8 100644 --- a/init_posix.go +++ b/init_posix.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build (linux || darwin || solaris || freebsd || openbsd) && !windows // +build linux darwin solaris freebsd openbsd // +build !windows diff --git a/init_windows.go b/init_windows.go index 051133c3..7356b6e2 100644 --- a/init_windows.go +++ b/init_windows.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build windows // +build windows package openssl