diff options
Diffstat (limited to 'src/plugin')
| -rw-r--r-- | src/plugin/plugin.go | 2 | ||||
| -rw-r--r-- | src/plugin/plugin_dlopen.go | 2 | ||||
| -rw-r--r-- | src/plugin/plugin_stubs.go | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/plugin/plugin.go b/src/plugin/plugin.go index 5506e95692..4a524bfa3f 100644 --- a/src/plugin/plugin.go +++ b/src/plugin/plugin.go @@ -13,7 +13,7 @@ // already part of the program are called. The main function is not run. // A plugin is only initialized once, and cannot be closed. // -// Currently plugins are only supported on Linux and macOS. +// Currently plugins are only supported on Linux, FreeBSD, and macOS. // Please report any issues. package plugin diff --git a/src/plugin/plugin_dlopen.go b/src/plugin/plugin_dlopen.go index 03d3f08717..9200fdc3cb 100644 --- a/src/plugin/plugin_dlopen.go +++ b/src/plugin/plugin_dlopen.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build linux,cgo darwin,cgo +// +build linux,cgo darwin,cgo freebsd,cgo package plugin diff --git a/src/plugin/plugin_stubs.go b/src/plugin/plugin_stubs.go index 40a41643b1..1893203017 100644 --- a/src/plugin/plugin_stubs.go +++ b/src/plugin/plugin_stubs.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build !linux,!darwin !cgo +// +build !linux,!freebsd,!darwin !cgo package plugin |
