]> Cypherpunks repositories - gostls13.git/commit
cmd/go: include .syso files even if CGO_ENABLED=0
authorIan Lance Taylor <iant@golang.org>
Mon, 13 Jun 2016 18:55:30 +0000 (11:55 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 14 Jun 2016 03:44:27 +0000 (03:44 +0000)
commit0deb49f9c09d15bf0e4c5ec843bd374f9a377e97
treec2ec7af6cd52418e699f1685f4be3105280d0dd2
parent9273e25eccbe82edff839b125b49bfb5578f24eb
cmd/go: include .syso files even if CGO_ENABLED=0

A .syso file may include information that should go into the object file
that is not object code, and should be included even if not using cgo.
The example in the issue is a Windows manifest file.

Fixes #16050.

Change-Id: I1f4f3f80bb007e84d153ca2d26e5919213ea4f8d
Reviewed-on: https://go-review.googlesource.com/24032
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
src/cmd/go/go_test.go
src/cmd/go/pkg.go