1
0
mirror of https://github.com/golang/go synced 2024-11-17 02:14:42 -07:00

runtime/cgo: on Solaris link against -lxnet

Fixes #32205

Change-Id: If5b1d32a5e19ff5d9337862c07fb77890d19d69f
Reviewed-on: https://go-review.googlesource.com/c/go/+/183379
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
This commit is contained in:
Ian Lance Taylor 2019-06-21 11:50:25 -07:00
parent c11f6c4929
commit 295419d0b4

View File

@ -21,6 +21,7 @@ package cgo
#cgo netbsd LDFLAGS: -lpthread
#cgo openbsd LDFLAGS: -lpthread
#cgo aix LDFLAGS: -Wl,-berok
#cgo solaris LDFLAGS: -lxnet
#cgo CFLAGS: -Wall -Werror