mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-04 23:35:40 +08:00
22 lines
434 B
PHP
22 lines
434 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace SPC\builder\extension;
|
|
|
|
use SPC\builder\Extension;
|
|
use SPC\util\CustomExt;
|
|
|
|
#[CustomExt('xlswriter')]
|
|
class xlswriter extends Extension
|
|
{
|
|
public function getUnixConfigureArg(): string
|
|
{
|
|
$arg = '--with-xlswriter --enable-reader';
|
|
if ($this->builder->getLib('openssl')) {
|
|
$arg .= ' --with-openssl=' . BUILD_ROOT_PATH;
|
|
}
|
|
return $arg;
|
|
}
|
|
}
|