mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
fix libsodium.
This commit is contained in:
parent
a4204347c1
commit
f281d5eeb7
@ -8,10 +8,11 @@ trait libsodium
|
|||||||
{
|
{
|
||||||
protected function build()
|
protected function build()
|
||||||
{
|
{
|
||||||
|
$root = BUILD_ROOT_PATH;
|
||||||
shell()->cd($this->source_dir)
|
shell()->cd($this->source_dir)
|
||||||
->exec("{$this->builder->configure_env} ./configure --enable-static --disable-shared --prefix=")
|
->exec("{$this->builder->configure_env} ./configure --enable-static --disable-shared --prefix={$root}")
|
||||||
->exec('make clean')
|
->exec('make clean')
|
||||||
->exec("make -j{$this->builder->concurrency}")
|
->exec("make -j{$this->builder->concurrency}")
|
||||||
->exec('make install DESTDIR=' . BUILD_ROOT_PATH);
|
->exec('make install');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user