From 98bb1ebd6b656c3ccb2c033b0332fe68f90de2de Mon Sep 17 00:00:00 2001 From: Savely Krendelhoff Date: Mon, 2 Dec 2024 11:49:07 +0700 Subject: [PATCH] [TMP] --- .github/workflows/build-bottles.yml | 2 +- Formula/tezos-client.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-bottles.yml b/.github/workflows/build-bottles.yml index 66bd7910f..addf1b82c 100644 --- a/.github/workflows/build-bottles.yml +++ b/.github/workflows/build-bottles.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ { id: macos-14, name: "sonoma" } ] + os: [ { id: macos-13, name: "ventura" } ] # we don't bottle meta-formulas that contain only services formula: [tezos-client] steps: diff --git a/Formula/tezos-client.rb b/Formula/tezos-client.rb index fea87162a..093d86a2d 100644 --- a/Formula/tezos-client.rb +++ b/Formula/tezos-client.rb @@ -36,6 +36,7 @@ def make_deps # Force linker to use libraries from the current brew installation. # Workaround for https://github.com/serokell/tezos-packaging/issues/700 ENV["LDFLAGS"] = "-L#{HOMEBREW_PREFIX}/lib" + ENV["RUSTFLAGS"]= "-C link-args=-Wl,-undefined,dynamic_lookup" # Here is the workaround to use opam 2.0.9 because Tezos is currently not compatible with opam 2.1.0 and newer arch = RUBY_PLATFORM.include?("arm64") ? "arm64" : "x86_64" system "rustup", "install", "1.78.0"