bring back setting, some libraries don't build a static version if the shared one should also be built...

This commit is contained in:
henderkes
2026-02-20 10:30:48 +07:00
parent cc69a169a8
commit ed1e02823a
10 changed files with 11 additions and 11 deletions

View File

@@ -13,7 +13,7 @@ trait mimalloc
{
$cmake = UnixCMakeExecutor::create($this)
->addConfigureArgs(
'-DMI_BUILD_SHARED=ON',
'-DMI_BUILD_SHARED=' . (getenv('SPC_LINK_STATIC') ? 'OFF' : 'ON'),
'-DMI_BUILD_OBJECT=OFF',
'-DMI_INSTALL_TOPLEVEL=ON',
);