mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
fix curl 7.4.0 CoreServices framework build bug for mac
This commit is contained in:
parent
37b9704fbb
commit
dbb566ac7c
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user