mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 05:14:52 +08:00
* fix #384 * bypass password-argon2 micro sanity check * ignore funding yaml schema [skip ci] * test linux compatibility for libargon2 and libsodium * update composer.json to prevent smart-aleck composer [skip ci]
21 lines
435 B
PHP
21 lines
435 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace SPC\builder\linux\library;
|
|
|
|
use SPC\store\FileSystem;
|
|
|
|
class libargon2 extends LinuxLibraryBase
|
|
{
|
|
use \SPC\builder\unix\library\libargon2;
|
|
|
|
public const NAME = 'libargon2';
|
|
|
|
public function patchBeforeBuild(): bool
|
|
{
|
|
FileSystem::replaceFileStr($this->source_dir . '/Makefile', 'LIBRARY_REL ?= lib/x86_64-linux-gnu', 'LIBRARY_REL ?= lib');
|
|
return true;
|
|
}
|
|
}
|