From 2ccc1537fbc99247af26fb2ceaa6ecebbd8b2267 Mon Sep 17 00:00:00 2001 From: david22swan Date: Thu, 19 Oct 2023 09:26:11 +0100 Subject: [PATCH] (CAT-270) Set special flag to run against Mac OS on ruby 3.2.2 Set special flag `--with-openssl-dir=` to run against Mac OS on Ruby 3.2.2. This flag works to force the use of the openssl version included within the runtime itself rather than the one that is installed by homebrew as default. --- configs/components/ruby-3.2.2.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/components/ruby-3.2.2.rb b/configs/components/ruby-3.2.2.rb index 9dc667516..ff46bc145 100644 --- a/configs/components/ruby-3.2.2.rb +++ b/configs/components/ruby-3.2.2.rb @@ -129,6 +129,8 @@ else special_flags += " --build i686-w64-mingw32 " end + elsif platform.is_macos? + special_flags += " --with-openssl-dir=#{settings[:prefix]} " end without_dtrace = [