mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-04 23:35:40 +08:00
refactor to pkg-config and add some add-on libs for gd
This commit is contained in:
@@ -6,15 +6,7 @@ namespace SPC\builder\macos\library;
|
||||
|
||||
class sqlite extends MacOSLibraryBase
|
||||
{
|
||||
public const NAME = 'sqlite';
|
||||
use \SPC\builder\unix\library\sqlite;
|
||||
|
||||
protected function build()
|
||||
{
|
||||
[,,$destdir] = SEPARATED_PATH;
|
||||
shell()->cd($this->source_dir)
|
||||
->exec("{$this->builder->configure_env} ./configure --enable-static --disable-shared --prefix=")
|
||||
->exec('make clean')
|
||||
->exec("make -j{$this->builder->concurrency}")
|
||||
->exec("make install DESTDIR={$destdir}");
|
||||
}
|
||||
public const NAME = 'sqlite';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user