cmd/go: handle ldflag escapes in pkg-config output #34710
Labels
GoCommand
cmd/go
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Attempt to build a cgo binary with
pkg-config
containing ldflags with a whitespace.What did you expect to see?
A successfull build.
What did you see instead?
go build github.com/ElektraInitiative/go-elektra/kdb: invalid flag in pkg-config --libs: elektra/build/lib
PR: #34709
Relates to
The text was updated successfully, but these errors were encountered: