1
0
mirror of https://github.com/golang/go synced 2024-11-23 00:10:07 -07:00
go/misc/cgo
Jason A. Donenfeld 14305bf0b9 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>
2021-06-13 23:53:43 +00:00
..
errors misc/cgo/errors: use expected column numbers 2021-06-05 04:40:03 +00:00
fortran misc/cgo/fortran: avoid writing to $PWD 2019-11-20 22:37:23 +00:00
gmp
life all: update references to symbols moved from io/ioutil to io 2021-04-05 17:51:15 +00:00
nocgo
stdio all: update references to symbols moved from io/ioutil to io 2021-04-05 17:51:15 +00:00
test syscall: some containers may fail syscall.TestSetuidEtc 2021-05-17 17:46:08 +00:00
testasan misc: log 'ok' from 'go run' tests on success 2019-11-25 16:43:27 +00:00
testcarchive all: simplify the spelling of Linux 2021-04-13 13:56:21 +00:00
testcshared misc/cgo: generate Windows import libraries for clang 2021-06-13 23:53:43 +00:00
testgodefs all: update references to symbols moved from io/ioutil to io 2021-04-05 17:51:15 +00:00
testplugin misc/cgo/testplugin: skip TestIssue25756pie on darwin/arm64 builder 2021-05-20 01:22:28 +00:00
testsanitizers all: update references to symbols moved from io/ioutil to io 2021-04-05 17:51:15 +00:00
testshared all: update references to symbols moved from io/ioutil to io 2021-04-05 17:51:15 +00:00
testsigfwd misc: log 'ok' from 'go run' tests on success 2019-11-25 16:43:27 +00:00
testso misc/cgo/testso, misc/cgo/testsovar: fix for Windows 2021-04-23 21:48:41 +00:00
testsovar misc/cgo/testso, misc/cgo/testsovar: fix for Windows 2021-04-23 21:48:41 +00:00
testtls