Fix xlswriter with openssl conflict bug (#472)

* Fix xlswriter with openssl conflict bug

* bump version to 2.2.3
This commit is contained in:
Jerry Ma
2024-06-04 19:31:13 +08:00
committed by GitHub
parent 1ae1c81f9c
commit 7e6c2b4432
4 changed files with 11 additions and 4 deletions

View File

@@ -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()
{

View File

@@ -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;
}
}