need static libs because of lib.json

This commit is contained in:
henderkes
2026-02-19 22:09:42 +07:00
parent cf69c02624
commit 179626f989
6 changed files with 16 additions and 31 deletions

View File

@@ -134,7 +134,7 @@ class UnixAutoconfExecutor extends Executor
{
return [
getenv('SPC_STATIC_LIBS') ? '--disable-shared' : '--enable-shared',
getenv('SPC_STATIC_LIBS') ? '--enable-static' : '--disable-static',
getenv('SPC_STATIC_LIBS') ? '--enable-static' : '--enable-static', // TODO: not always static
"--prefix={$this->library->getBuildRootPath()}",
'--with-pic',
'--enable-pic',