add fastlz, libmemcached for linux

This commit is contained in:
DubbleClick
2025-06-12 10:46:26 +07:00
parent bfba598ef4
commit 089b94d753
10 changed files with 101 additions and 32 deletions

View File

@@ -0,0 +1,12 @@
<?php
declare(strict_types=1);
namespace SPC\builder\macos\library;
class fastlz extends MacOSLibraryBase
{
use \SPC\builder\unix\library\fastlz;
public const NAME = 'fastlz';
}

View File

@@ -4,17 +4,14 @@ declare(strict_types=1);
namespace SPC\builder\macos\library;
use SPC\util\executor\UnixAutoconfExecutor;
use SPC\util\executor\UnixCMakeExecutor;
/**
* gmp is a template library class for unix
*/
class libmemcached extends MacOSLibraryBase
{
public const NAME = 'libmemcached';
public function build(): void
{
UnixAutoconfExecutor::create($this)->configure('--disable-sasl')->exec("sed -ie 's/-Werror//g' ./Makefile")->make();
UnixCMakeExecutor::create($this)->build();
}
}