2023-07-26 00:08:20 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
|
|
namespace SPC\builder\macos\library;
|
|
|
|
|
|
2025-06-09 19:32:31 +08:00
|
|
|
use SPC\util\executor\UnixAutoconfExecutor;
|
|
|
|
|
|
2023-07-26 00:08:20 +08:00
|
|
|
/**
|
|
|
|
|
* gmp is a template library class for unix
|
|
|
|
|
*/
|
|
|
|
|
class libmemcached extends MacOSLibraryBase
|
|
|
|
|
{
|
|
|
|
|
public const NAME = 'libmemcached';
|
|
|
|
|
|
2023-08-20 19:51:45 +08:00
|
|
|
public function build(): void
|
2023-07-26 00:08:20 +08:00
|
|
|
{
|
2025-06-09 19:32:31 +08:00
|
|
|
UnixAutoconfExecutor::create($this)->configure('--disable-sasl')->exec("sed -ie 's/-Werror//g' ./Makefile")->make();
|
2023-07-26 00:08:20 +08:00
|
|
|
}
|
|
|
|
|
}
|