]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo: remove support for CGOPKGPATH
authorDidier Spezia <didier.06@gmail.com>
Sat, 3 Oct 2015 17:42:52 +0000 (17:42 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 3 Oct 2015 18:41:59 +0000 (18:41 +0000)
commitf12b6208f66c746741439af28671b7aed30d1f01
tree3c9cec9dff8f2149f06abcb5dac6974448614d8c
parent89a68e9f1adb939e5a58ed38cf6c03119c324480
cmd/cgo: remove support for CGOPKGPATH

CGOPKGPATH variable was undocumented, but it is not needed anymore.

It was used before the existence of the go tool to tell cgo the full
path of the package that it was building, which in turn set the name
of the shared library that cgo expected to load back when cgo used
shared libraries. CGOPKGPATH no longer does anything useful;
it just affects the comments in the generated header file.

Remove it to avoid any future confusion.

Fixes #11852

Change-Id: Ieb452e5bbcfd05b87a4a3618b5b8f44423341858
Reviewed-on: https://go-review.googlesource.com/15266
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/cgo/main.go
src/cmd/go/build.go