add memcache support

This commit is contained in:
crazywhalecc
2023-07-25 21:44:53 +08:00
committed by Jerry Ma
parent 778b0eadcd
commit 956c87a657
4 changed files with 72 additions and 10 deletions

View File

@@ -0,0 +1,17 @@
<?php
declare(strict_types=1);
namespace SPC\builder\extension;
use SPC\builder\Extension;
use SPC\util\CustomExt;
#[CustomExt('memcache')]
class memcache extends Extension
{
public function getUnixConfigureArg(): string
{
return '--enable-memcache --with-zlib-dir=' . BUILD_ROOT_PATH;
}
}