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

Allow selecting the pkg-config tool via PKG_CONFIG_TOOL env var #193

Merged
merged 1 commit into from
Dec 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions tools/please_go/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Version 1.7.0
-------------
* Allow selecting the pkg-config tool via PKG_CONFIG_TOOL env var

Version 1.6.2
--------------
* Avoid adding go_binary targets to the install list for go_repo (#184)
2 changes: 1 addition & 1 deletion tools/please_go/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.6.2
1.7.0
2 changes: 1 addition & 1 deletion tools/please_go/please_go.go
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ var opts = struct {
CCTool string `short:"c" long:"cc_tool" description:"The c compiler to use"`
Out string `short:"o" long:"out" description:"The output directory to put compiled artifacts in" required:"true"`
TrimPath string `short:"t" long:"trim_path" description:"Removes prefix from recorded source file paths."`
PackageConfigTool string `short:"p" long:"pkg_config_tool" description:"The path to the pkg config" default:"pkg-config"`
PackageConfigTool string `short:"p" long:"pkg_config_tool" env:"PKG_CONFIG_TOOL" description:"The path to the pkg config" default:"pkg-config"`
Args struct {
Packages []string `positional-arg-name:"packages" description:"The packages to compile"`
} `positional-args:"true" required:"true"`