diff options
| author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-06-11 17:53:29 +0200 |
|---|---|---|
| committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-06-13 23:53:43 +0000 |
| commit | 14305bf0b9ab87bcaca11416ab61e7a4ba09690d (patch) | |
| tree | ceb62a53b3a52c7e761e9e9c077f03195d188e6c /src/cmd/compile/internal/noder/decoder.go | |
| parent | 24cff0f0444793be81062684c478a3f7ca955499 (diff) | |
| download | go-14305bf0b9ab87bcaca11416ab61e7a4ba09690d.tar.xz | |
misc/cgo: generate Windows import libraries for clang
LLD won't import a .dll directly and instead requires an import library.
So generate these using -out-implib, the same way as was done in CL
312046, where it makes sense, and elsewhere build the import library
using a def file. We can't use -out-implib all the time, because the
output file gets overwritten each time the linker is called, rather than
merged.
Updates #46502.
Change-Id: Iefe54cb6c576004b83b1039ba673881b8640423d
Reviewed-on: https://go-review.googlesource.com/c/go/+/327211
Trust: Jason A. Donenfeld <Jason@zx2c4.com>
Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/noder/decoder.go')
0 files changed, 0 insertions, 0 deletions
