Compare commits

...

3 Commits

Author SHA1 Message Date
crazywhalecc
483ecd7e9b Fix opcache for windows not build bug 2024-07-12 14:07:54 +08:00
crazywhalecc
4e26dc8ab9 Disable libyuv for libavif 2024-07-12 13:50:54 +08:00
crazywhalecc
abdbaa1a81 Remove libiconv-win pre-built 2024-07-12 13:44:56 +08:00
4 changed files with 3 additions and 3 deletions

View File

@@ -383,7 +383,7 @@
},
"opcache": {
"type": "builtin",
"arg-type": "custom"
"arg-type-unix": "custom"
},
"openssl": {
"notes": true,

View File

@@ -330,7 +330,6 @@
"type": "git",
"rev": "master",
"url": "https://github.com/static-php/libiconv-win.git",
"provide-pre-built": true,
"license": {
"type": "file",
"path": "source/COPYING"

View File

@@ -23,7 +23,7 @@ trait libavif
// Start build
shell()->cd($this->source_dir . '/build')
->setEnv(['CFLAGS' => $this->getLibExtraCFlags(), 'LDFLAGS' => $this->getLibExtraLdFlags(), 'LIBS' => $this->getLibExtraLibs()])
->execWithEnv("cmake {$this->builder->makeCmakeArgs()} -DBUILD_SHARED_LIBS=OFF ..")
->execWithEnv("cmake {$this->builder->makeCmakeArgs()} -DBUILD_SHARED_LIBS=OFF -DAVIF_LIBYUV=OFF ..")
->execWithEnv("cmake --build . -j {$this->builder->concurrency}")
->execWithEnv('make install DESTDIR=' . BUILD_ROOT_PATH);
// patch pkgconfig

View File

@@ -26,6 +26,7 @@ class libavif extends WindowsLibraryBase
'-DBUILD_SHARED_LIBS=OFF ' .
'-DAVIF_BUILD_APPS=OFF ' .
'-DAVIF_BUILD_TESTS=OFF ' .
'-DAVIF_LIBYUV=OFF ' .
'-DAVID_ENABLE_GTEST=OFF ' .
'-DCMAKE_INSTALL_PREFIX=' . BUILD_ROOT_PATH . ' '
)