mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-10 10:25:36 +08:00
fix curl 7.4.0 CoreServices framework build bug for mac
This commit is contained in:
@@ -63,6 +63,7 @@
|
|||||||
],
|
],
|
||||||
"frameworks": [
|
"frameworks": [
|
||||||
"CoreFoundation",
|
"CoreFoundation",
|
||||||
|
"CoreServices",
|
||||||
"SystemConfiguration"
|
"SystemConfiguration"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -44,6 +44,11 @@ class curl extends MacOSLibraryBase
|
|||||||
'/NOT SYSTEMCONFIGURATION_FRAMEWORK/m',
|
'/NOT SYSTEMCONFIGURATION_FRAMEWORK/m',
|
||||||
'FALSE'
|
'FALSE'
|
||||||
);
|
);
|
||||||
|
FileSystem::replaceFileRegex(
|
||||||
|
SOURCE_PATH . '/curl/CMakeLists.txt',
|
||||||
|
'/NOT CORESERVICES_FRAMEWORK/m',
|
||||||
|
'FALSE'
|
||||||
|
);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user