Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/cgo: remove support for CGOPKGPATH environment variable #11852

Closed
ianlancetaylor opened this issue Jul 24, 2015 · 1 comment

Comments

@ianlancetaylor
Copy link
Contributor

commented Jul 24, 2015

The cgo tool uses an undocumented environment variable CGOPKGPATH. 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.

We should remove CGOPKGPATH entirely to avoid any future confusion.

@ianlancetaylor ianlancetaylor self-assigned this Jul 24, 2015

@ianlancetaylor ianlancetaylor added this to the Go1.6 milestone Jul 24, 2015

@gopherbot

This comment has been minimized.

Copy link

commented Oct 3, 2015

CL https://golang.org/cl/15266 mentions this issue.

@bradfitz bradfitz closed this in f12b620 Oct 3, 2015

@golang golang locked and limited conversation to collaborators Oct 4, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants
You can’t perform that action at this time.