--- libgo/misc/cgo/testso/cgoso.go.orig 2020-03-04 19:30:03.000000000 +1100 +++ libgo/misc/cgo/testso/cgoso.go 2020-09-09 22:09:29.211522000 +1000 @@ -9,6 +9,7 @@ // to test correct handling of LDFLAGS. #cgo linux LDFLAGS: -L. -lcgosotest #cgo dragonfly LDFLAGS: -L. -l cgosotest +#cgo bsdsunix LDFLAGS: -L. -l cgosotest #cgo freebsd LDFLAGS: -L. -l cgosotest #cgo openbsd LDFLAGS: -L. -l cgosotest #cgo solaris LDFLAGS: -L. -lcgosotest