mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-16 21:35:36 +08:00
Compare commits
3 Commits
01c78aa92a
...
483ecd7e9b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
483ecd7e9b | ||
|
|
4e26dc8ab9 | ||
|
|
abdbaa1a81 |
@@ -383,7 +383,7 @@
|
||||
},
|
||||
"opcache": {
|
||||
"type": "builtin",
|
||||
"arg-type": "custom"
|
||||
"arg-type-unix": "custom"
|
||||
},
|
||||
"openssl": {
|
||||
"notes": true,
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 . ' '
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user