@@ -12,17 +12,22 @@ class Asdf < Formula
1212 end
1313
1414 bottle do
15- sha256 cellar : :any_skip_relocation , arm64_sequoia : "afceac20abb167cd85d4da04e1c89acdd06098f2aa4373deb640729bf7c0012f"
16- sha256 cellar : :any_skip_relocation , arm64_sonoma : "afceac20abb167cd85d4da04e1c89acdd06098f2aa4373deb640729bf7c0012f"
17- sha256 cellar : :any_skip_relocation , arm64_ventura : "afceac20abb167cd85d4da04e1c89acdd06098f2aa4373deb640729bf7c0012f"
18- sha256 cellar : :any_skip_relocation , sonoma : "27e44c008fffe03e266a992090543f73f66d189b68579a6e6e1048c969a3e89e"
19- sha256 cellar : :any_skip_relocation , ventura : "27e44c008fffe03e266a992090543f73f66d189b68579a6e6e1048c969a3e89e"
20- sha256 cellar : :any_skip_relocation , x86_64_linux : "1b804f7d106519efff0a355dcf4c62b8edea0997abef667a1c9b4d5462fd9000"
15+ rebuild 1
16+ sha256 cellar : :any_skip_relocation , arm64_sequoia : "90346d0b6c2cb065be3deee9dc0b0e4c903984a9f047ba7c481020efbe9f368a"
17+ sha256 cellar : :any_skip_relocation , arm64_sonoma : "90346d0b6c2cb065be3deee9dc0b0e4c903984a9f047ba7c481020efbe9f368a"
18+ sha256 cellar : :any_skip_relocation , arm64_ventura : "90346d0b6c2cb065be3deee9dc0b0e4c903984a9f047ba7c481020efbe9f368a"
19+ sha256 cellar : :any_skip_relocation , sonoma : "29933f1ae2ea276c92d7a22df8aa27ce74863d9889e76b361d5eff9424861997"
20+ sha256 cellar : :any_skip_relocation , ventura : "29933f1ae2ea276c92d7a22df8aa27ce74863d9889e76b361d5eff9424861997"
21+ sha256 cellar : :any_skip_relocation , x86_64_linux : "1e4548068a801b520156702ed76fb907b80e9f0518151a89b9b724b62cfdfda2"
2122 end
2223
2324 depends_on "go" => :build
2425
2526 def install
27+ # fix https://github.com/asdf-vm/asdf/issues/1992
28+ # relates to https://github.com/Homebrew/homebrew-core/issues/163826
29+ ENV [ "CGO_ENABLED" ] = OS . mac? ? "1" : "0"
30+
2631 system "go" , "build" , *std_go_args ( ldflags : "-s -w -X main.version=#{ version } " ) , "./cmd/asdf"
2732 generate_completions_from_executable ( bin /"asdf" , "completion" )
2833 libexec . install Dir [ "asdf.*" ]
0 commit comments