]> Cypherpunks repositories - gostls13.git/commit
misc/cgo/testso, misc/cgo/testsovar: fix for Windows
authorRuss Cox <rsc@golang.org>
Tue, 20 Apr 2021 20:22:01 +0000 (16:22 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 23 Apr 2021 21:48:41 +0000 (21:48 +0000)
commita6d3dc40c40c8a93e6b8bd641104d7655eb5093b
tree114676825ad70dc5779e112989904d152805e8eb
parent9cc3469106df94ad0d3c806bcfbddb7e5224d8b6
misc/cgo/testso, misc/cgo/testsovar: fix for Windows

At least in mingw-clang it is not permitted to just name a .dll
on the command line. You must name the corresponding import
library instead, even though the dll is used when the executable
is run.

This fixes misc/cgo/testso and misc/cgo/testsovar on windows/arm64.

Change-Id: I516b6ccba2fe3a9ee2c01e710a71850c4df8522f
Reviewed-on: https://go-review.googlesource.com/c/go/+/312046
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
misc/cgo/testso/so_test.go
misc/cgo/testso/testdata/cgoso.go
misc/cgo/testsovar/so_test.go
misc/cgo/testsovar/testdata/cgoso.go