Skip to content

Commit 4c70158

Browse files
reid-spencerclaude
andcommitted
Add openssl@3 dependency for riddlc native binaries
The riddlc native binaries also link against libcrypto from Homebrew's openssl@3 (per otool -L). Add it alongside libidn2 for both native variants. The remaining linked libraries (libSystem, /usr/lib/libcurl) ship with macOS and need no formula. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 9c1ddad commit 4c70158

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/update-formula.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,12 @@ jobs:
4242
url "https://github.com/ossuminc/riddl/releases/download/#{version}/riddlc-macos-arm64.zip"
4343
sha256 "${SHA_MACOS_ARM64}"
4444
depends_on "libidn2"
45+
depends_on "openssl@3"
4546
elsif OS.linux? && Hardware::CPU.intel?
4647
url "https://github.com/ossuminc/riddl/releases/download/#{version}/riddlc-linux-x86_64.zip"
4748
sha256 "${SHA_LINUX_X86}"
4849
depends_on "libidn2"
50+
depends_on "openssl@3"
4951
else
5052
url "https://github.com/ossuminc/riddl/releases/download/#{version}/riddlc.zip"
5153
sha256 "${SHA_JVM}"

Formula/riddlc.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ class Riddlc < Formula
1313
url "https://github.com/ossuminc/riddl/releases/download/#{version}/riddlc-macos-arm64.zip"
1414
sha256 "cf276a2079ac6728a2b29d5ed149c4bc8ab788825a12194d6744e4e73d726cd3"
1515
depends_on "libidn2"
16+
depends_on "openssl@3"
1617
elsif OS.linux? && Hardware::CPU.intel?
1718
url "https://github.com/ossuminc/riddl/releases/download/#{version}/riddlc-linux-x86_64.zip"
1819
sha256 "6c214dd03249259f8dea5f0842dd739c01842c5fe72d23d821ea0f30c9f260a4"
1920
depends_on "libidn2"
21+
depends_on "openssl@3"
2022
else
2123
url "https://github.com/ossuminc/riddl/releases/download/#{version}/riddlc.zip"
2224
sha256 "a50cf29e2579ed08ba1f90ce498fe615ee821eb8d3f111a5556e9553d66f0da8"

0 commit comments

Comments
 (0)