mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-02 14:25:41 +08:00
feat(build): use WinCNG as crypto backend for libssh2 windows
This commit is contained in:
@@ -9,7 +9,7 @@ libssh2:
|
|||||||
metadata:
|
metadata:
|
||||||
license-files: [COPYING]
|
license-files: [COPYING]
|
||||||
license: BSD-3-Clause
|
license: BSD-3-Clause
|
||||||
depends:
|
depends@unix:
|
||||||
- openssl
|
- openssl
|
||||||
headers:
|
headers:
|
||||||
- libssh2.h
|
- libssh2.h
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ class libssh2
|
|||||||
{
|
{
|
||||||
WindowsCMakeExecutor::create($lib)
|
WindowsCMakeExecutor::create($lib)
|
||||||
->addConfigureArgs(
|
->addConfigureArgs(
|
||||||
|
'-DCRYPTO_BACKEND=WinCNG',
|
||||||
'-DENABLE_ZLIB_COMPRESSION=ON',
|
'-DENABLE_ZLIB_COMPRESSION=ON',
|
||||||
'-DBUILD_TESTING=OFF'
|
'-DBUILD_TESTING=OFF'
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user