fix curl 7.4.0 CoreServices framework build bug for mac

This commit is contained in:
crazywhalecc 2023-10-17 18:23:11 +08:00 committed by Jerry Ma
parent 37b9704fbb
commit dbb566ac7c
2 changed files with 6 additions and 0 deletions

View File

@ -63,6 +63,7 @@
],
"frameworks": [
"CoreFoundation",
"CoreServices",
"SystemConfiguration"
]
},

View File

@ -44,6 +44,11 @@ class curl extends MacOSLibraryBase
'/NOT SYSTEMCONFIGURATION_FRAMEWORK/m',
'FALSE'
);
FileSystem::replaceFileRegex(
SOURCE_PATH . '/curl/CMakeLists.txt',
'/NOT CORESERVICES_FRAMEWORK/m',
'FALSE'
);
return true;
}
}