From a5db65131e40aaba1a11264dd1893bbc7c3a0261 Mon Sep 17 00:00:00 2001 From: Camden Narzt Date: Sat, 29 May 2021 14:44:14 -0600 Subject: [PATCH] Curl now depends on a symbol from SystemConfiguration https://stackoverflow.com/questions/7781151/error-on-scdynamicstorecopyproxies-not-symbol-found --- src/ruby_supportlib/phusion_passenger/platform_info/curl.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ruby_supportlib/phusion_passenger/platform_info/curl.rb b/src/ruby_supportlib/phusion_passenger/platform_info/curl.rb index 52dec2075d..3de5842569 100644 --- a/src/ruby_supportlib/phusion_passenger/platform_info/curl.rb +++ b/src/ruby_supportlib/phusion_passenger/platform_info/curl.rb @@ -29,6 +29,9 @@ module PhusionPassenger module PlatformInfo def self.curl_flags result = `(curl-config --cflags) 2>/dev/null`.strip + if os_name_simple == "macosx" + result << ' -framework Foundation -framework SystemConfiguration' + end if result.empty? return nil else