use latest zip version for building shared

This commit is contained in:
henderkes
2025-10-06 21:00:45 +02:00
parent 384ba54c79
commit a49ae05599
3 changed files with 30 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
<?php
declare(strict_types=1);
namespace SPC\builder\extension;
use SPC\builder\Extension;
use SPC\util\CustomExt;
#[CustomExt('zip')]
class zip extends Extension
{
public function getUnixConfigureArg(bool $shared = false): string
{
return !$shared ? '--with-zip=' . BUILD_ROOT_PATH : '--enable-zip=shared';
}
}