mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
Remove curl libbrotli patches
This commit is contained in:
parent
b320eb853a
commit
145fe7ce13
@ -6,7 +6,6 @@ namespace SPC\builder\unix\library;
|
||||
|
||||
use SPC\exception\FileSystemException;
|
||||
use SPC\exception\RuntimeException;
|
||||
use SPC\store\FileSystem;
|
||||
use SPC\util\executor\UnixCMakeExecutor;
|
||||
|
||||
trait curl
|
||||
@ -38,26 +37,6 @@ trait curl
|
||||
|
||||
// patch pkgconf
|
||||
$this->patchPkgconfPrefix(['libcurl.pc']);
|
||||
FileSystem::replaceFileStr(
|
||||
BUILD_LIB_PATH . '/pkgconfig/libcurl.pc',
|
||||
'-lbrotlienc -lbrotlidec -lbrotlicommon',
|
||||
'-lbrotlidec -lbrotlicommon'
|
||||
);
|
||||
FileSystem::replaceFileStr(
|
||||
BUILD_LIB_PATH . '/pkgconfig/libcurl.pc',
|
||||
'-lbrotlidec -lbrotlicommon',
|
||||
'-lbrotlienc -lbrotlidec -lbrotlicommon'
|
||||
);
|
||||
FileSystem::replaceFileStr(
|
||||
BUILD_LIB_PATH . '/pkgconfig/libcurl.pc',
|
||||
'libbrotlienc,libbrotlidec,libbrotlicommon',
|
||||
'libbrotlidec,libbrotlicommon'
|
||||
);
|
||||
FileSystem::replaceFileStr(
|
||||
BUILD_LIB_PATH . '/pkgconfig/libcurl.pc',
|
||||
'libbrotlidec,libbrotlicommon',
|
||||
'libbrotlienc,libbrotlidec,libbrotlicommon'
|
||||
);
|
||||
shell()->cd(BUILD_LIB_PATH . '/cmake/CURL/')
|
||||
->exec("sed -ie 's|\"/lib/libcurl.a\"|\"" . BUILD_LIB_PATH . "/libcurl.a\"|g' CURLTargets-release.cmake");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user