[pkg-go] Changing dh-golang to work with Go shared libraries

Michael Hudson-Doyle michael.hudson at canonical.com
Tue Jun 16 03:02:54 UTC 2015


Some of you have already seen and commented on my proposal on how to
change dh-golang to build and link against Go shared libraries, coming
(on amd64 at least) in Go 1.5:
I've just made some small edits to it around the name of the shared
objects that are built.

I'm attaching two patches that implement the scheme described in the
doc. I've not tested them super extensively but they do seem to work
(with a go package from my branch at
https://github.com/mwhudson/go/tree/ubuntu-vivid, ignore the branch
name, it builds fine on sid).

I'd be most interested in any comments anyone has.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-dh_makegolangshlibs.patch
Type: text/x-patch
Size: 3635 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20150616/31f32a6b/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Shared-library-support.patch
Type: text/x-patch
Size: 12353 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20150616/31f32a6b/attachment-0003.bin>

More information about the Pkg-go-maintainers mailing list