diff options
author | Ian Lance Taylor <iant@golang.org> | 2014-05-12 12:43:51 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2014-05-12 12:43:51 -0700 |
commit | 02cc45aded62e23f6bb6142174ab5b12f7d5b486 (patch) | |
tree | 17502b567df9c666c7a92d88a7338c5d15082c2f /doc | |
parent | f078711b412e9949d242e2bb54fc26d759232f5f (diff) | |
download | go-git-02cc45aded62e23f6bb6142174ab5b12f7d5b486.tar.gz |
cmd/go: link SWIG objects directly rather than using a shared library
This change requires using SWIG version 3.0 or later. Earlier
versions of SWIG do not generate the pragmas required to use
the external linker.
Fixes #7155.
Fixes #7156.
LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/97120046
Diffstat (limited to 'doc')
-rw-r--r-- | doc/go1.3.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/go1.3.html b/doc/go1.3.html index 60effb294d..e13faa1b08 100644 --- a/doc/go1.3.html +++ b/doc/go1.3.html @@ -179,6 +179,15 @@ Finally, the go command now supports packages that import Objective-C files (suffixed <code>.m</code>) through cgo. </p> +<h3 id="swig">SWIG 3.0 required for programs that use SWIG</h3> + +<p> +For Go programs that use SWIG, SWIG version 3.0 is now required. The +<a href="/cmd/go"><code>cmd/go</code></a> command will now link the +SWIG generated object files directly into the binary, rather than +building and linking with a shared library. +</p> + <h3 id="gc_flag">Command-line flag parsing</h3> <p> |