-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
proposal: cmd/cgo: pkg-config support default pc file #46226
Comments
It seems to me that we can already do this using |
@ianlancetaylor |
GOPATH/pkg is really meant for binaries and things that can be regenerated. |
This proposal has been added to the active column of the proposals project |
Based on the discussion above, this proposal seems like a likely decline. |
No change in consensus, so declined. |
cgo user can custom default pc file to change CFLAGS and LDFLAGS.
for example:
will read
${GOPATH}/pkg/cgo_${GOOS}_${GOARCH}/png.pc
at first (donot need install ‘pkg-config’ tool):if no default pc file, then use local pkg-config tool.
The text was updated successfully, but these errors were encountered: