<div dir="ltr">There is a way, dh-make-golang does it: <a href="https://github.com/Debian/dh-make-golang/blob/f0afc0f7169eb4f261449d8c4bd6fc7950583617/make.go#L177-L192">https://github.com/Debian/dh-make-golang/blob/f0afc0f7169eb4f261449d8c4bd6fc7950583617/make.go#L177-L192</a></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 26, 2018 at 12:34 PM, Shengjing Zhu <span dir="ltr"><<a href="mailto:i@zhsj.me" target="_blank">i@zhsj.me</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, Aug 26, 2018 at 5:44 PM Michael Hudson-Doyle<br>
<<a href="mailto:michael.hudson@canonical.com">michael.hudson@canonical.com</a>> wrote:<br>
><br>
> I've forgotten everything about this code even though I wrote it, but wouldn't it be better to filter out the standard library dependencies?<br>
><br>
<br>
For golang-go, currently it uses std library to producing the<br>
Built-Using for golang-go compiler. For gccgo, there's no such need<br>
because it will depends libgo.<br>
So for gccgo, it's true that we can filter out the std library. But I<br>
doubt if there's clean way...<br>
<span class=""><br>
-- <br>
Best regards,<br>
Shengjing Zhu<br>
<br>
</span>______________________________<wbr>_________________<br>
Pkg-go-maintainers mailing list<br>
<a href="mailto:Pkg-go-maintainers@alioth-lists.debian.net">Pkg-go-maintainers@alioth-<wbr>lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers" rel="noreferrer" target="_blank">https://alioth-lists.debian.<wbr>net/cgi-bin/mailman/listinfo/<wbr>pkg-go-maintainers</a></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Best regards,<br>Michael</div>
</div>