mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-07 00:35:41 +08:00
Fix libavif build on VS2019 syntax error (#649)
* Test old source of libavif * Test old source of libavif * Fix libavif 1.2.0 bug
This commit is contained in:
@@ -12,6 +12,8 @@ class libavif extends WindowsLibraryBase
|
||||
|
||||
protected function build(): void
|
||||
{
|
||||
// workaround for libavif 1.2.0 bug
|
||||
FileSystem::replaceFileStr($this->source_dir . '\src\read.c', 'avifFileType ftyp = {};', 'avifFileType ftyp = { 0 };');
|
||||
// reset cmake
|
||||
FileSystem::resetDir($this->source_dir . '\build');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user