4f034c2357
$PREFIX/go14. Go 1.5 is going to be released soon, and it will depend on an existing installation of Go 1.4 to compile. So let's provide one.
14 lines
452 B
Go
14 lines
452 B
Go
$NetBSD: patch-misc_cgo_testso_cgoso.go,v 1.1 2015/07/31 14:46:25 bsiegert Exp $
|
|
|
|
Support cgo on illumos.
|
|
|
|
--- misc/cgo/testso/cgoso.go.orig 2014-12-11 01:18:10.000000000 +0000
|
|
+++ misc/cgo/testso/cgoso.go
|
|
@@ -14,6 +14,7 @@ package cgosotest
|
|
#cgo netbsd LDFLAGS: -L. libcgosotest.so
|
|
#cgo darwin LDFLAGS: -L. libcgosotest.dylib
|
|
#cgo windows LDFLAGS: -L. libcgosotest.dll
|
|
+#cgo solaris LDFLAGS: -L. -lcgosotest
|
|
|
|
void init(void);
|
|
void sofunc(void);
|