don't download libpng, zlib, brotli, as we already build them

This commit is contained in:
DubbleClick
2025-07-20 02:49:30 +07:00
parent eff6c0666b
commit c0483b4b34
2 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ trait libtiff
*/
protected function build(): void
{
$libcpp = SPCTarget::getTargetOS() === 'Darwin' ? '-lc++' : '-lstdc++';
$libcpp = SPCTarget::getTargetOS() === 'Linux' ? '-lstdc++' : '-lc++';
FileSystem::replaceFileStr($this->source_dir . '/configure', '-lwebp', '-lwebp -lsharpyuv');
FileSystem::replaceFileStr($this->source_dir . '/configure', '-l"$lerc_lib_name"', '-l"$lerc_lib_name" ' . $libcpp);
UnixAutoconfExecutor::create($this)