mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
need to build zstd static
This commit is contained in:
parent
7b8f1c4747
commit
101b4febb9
@ -13,7 +13,7 @@ trait zstd
|
||||
UnixCMakeExecutor::create($this)
|
||||
->setBuildDir("{$this->source_dir}/build/cmake/build")
|
||||
->addConfigureArgs(
|
||||
'-DZSTD_BUILD_STATIC=' . (getenv('SPC_STATIC_LIBS') ? 'ON' : 'OFF'),
|
||||
'-DZSTD_BUILD_STATIC=ON', // otherwise zstd util fails to build
|
||||
'-DZSTD_BUILD_SHARED='. (getenv('SPC_STATIC_LIBS') ? 'OFF' : 'ON'),
|
||||
)
|
||||
->build();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user