mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-04 07:15:38 +08:00
allow building and linking with shared instead of static libs
This commit is contained in:
@@ -133,8 +133,8 @@ class UnixAutoconfExecutor extends Executor
|
||||
private function getDefaultConfigureArgs(): array
|
||||
{
|
||||
return [
|
||||
'--disable-shared',
|
||||
'--enable-static',
|
||||
getenv('SPC_STATIC_LIBS') ? '--disable-shared' : '--enable-shared',
|
||||
getenv('SPC_STATIC_LIBS') ? '--enable-static' : '--disable-static',
|
||||
"--prefix={$this->library->getBuildRootPath()}",
|
||||
'--with-pic',
|
||||
'--enable-pic',
|
||||
|
||||
Reference in New Issue
Block a user