diff --git a/config/lib.json b/config/lib.json index 63aa44a47..73f280ab3 100644 --- a/config/lib.json +++ b/config/lib.json @@ -63,6 +63,7 @@ ], "frameworks": [ "CoreFoundation", + "CoreServices", "SystemConfiguration" ] }, diff --git a/src/SPC/builder/macos/library/curl.php b/src/SPC/builder/macos/library/curl.php index c590c0032..3a24f31a2 100644 --- a/src/SPC/builder/macos/library/curl.php +++ b/src/SPC/builder/macos/library/curl.php @@ -44,6 +44,11 @@ public function patchBeforeBuild(): bool '/NOT SYSTEMCONFIGURATION_FRAMEWORK/m', 'FALSE' ); + FileSystem::replaceFileRegex( + SOURCE_PATH . '/curl/CMakeLists.txt', + '/NOT CORESERVICES_FRAMEWORK/m', + 'FALSE' + ); return true; } }