Skip to content

Commit

Permalink
Merge pull request #181541 from Homebrew/pcp-go1.22
Browse files Browse the repository at this point in the history
pcp: build with go1.22
  • Loading branch information
BrewTestBot authored Aug 18, 2024
2 parents 43ec163 + 9aafb16 commit 4afcd98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Formula/p/pcp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ class Pcp < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "be128448d96fd7005c9cbda1c1ba2c71e7f7a58468c1c5bb3ec7a1f75c5109c5"
end

depends_on "go" => :build
# use "go" again after https://github.com/dennis-tra/pcp/issues/30 is fixed and released
depends_on "[email protected]" => :build

def install
ldflags = "-X main.RawVersion=#{version} -X main.ShortCommit=#{Utils.git_short_head(length: 7)}"
Expand Down

0 comments on commit 4afcd98

Please sign in to comment.