mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-06 00:05:42 +08:00
Fix xlswriter with openssl conflict bug (#472)
* Fix xlswriter with openssl conflict bug * bump version to 2.2.3
This commit is contained in:
@@ -25,7 +25,7 @@ use Symfony\Component\Console\Application;
|
||||
*/
|
||||
final class ConsoleApplication extends Application
|
||||
{
|
||||
public const VERSION = '2.2.2';
|
||||
public const VERSION = '2.2.3';
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
|
||||
@@ -12,6 +12,10 @@ class xlswriter extends Extension
|
||||
{
|
||||
public function getUnixConfigureArg(): string
|
||||
{
|
||||
return '--with-xlswriter --enable-reader';
|
||||
$arg = '--with-xlswriter --enable-reader';
|
||||
if ($this->builder->getLib('openssl')) {
|
||||
$arg .= ' --with-openssl=' . BUILD_ROOT_PATH;
|
||||
}
|
||||
return $arg;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user