mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
Add --enable-pic for default autoconf args
This commit is contained in:
parent
8b09e1a446
commit
1b08a250f6
@ -10,12 +10,7 @@ trait libiconv
|
||||
{
|
||||
protected function build(): void
|
||||
{
|
||||
UnixAutoconfExecutor::create($this)
|
||||
->configure(
|
||||
'--enable-pic',
|
||||
'--enable-extra-encodings',
|
||||
)
|
||||
->make();
|
||||
UnixAutoconfExecutor::create($this)->configure('--enable-extra-encodings')->make();
|
||||
$this->patchLaDependencyPrefix(['libiconv.la']);
|
||||
}
|
||||
}
|
||||
|
||||
@ -16,7 +16,7 @@ trait onig
|
||||
*/
|
||||
protected function build(): void
|
||||
{
|
||||
UnixAutoconfExecutor::create($this)->configure('--enable-pic')->make();
|
||||
UnixAutoconfExecutor::create($this)->configure()->make();
|
||||
$this->patchPkgconfPrefix(['oniguruma.pc']);
|
||||
}
|
||||
}
|
||||
|
||||
@ -18,7 +18,6 @@ trait xz
|
||||
{
|
||||
UnixAutoconfExecutor::create($this)
|
||||
->configure(
|
||||
'--enable-pic',
|
||||
'--disable-scripts',
|
||||
'--disable-doc',
|
||||
'--with-libiconv',
|
||||
|
||||
@ -108,6 +108,7 @@ class UnixAutoconfExecutor extends Executor
|
||||
'--enable-static',
|
||||
"--prefix={$this->library->getBuildRootPath()}",
|
||||
'--with-pic',
|
||||
'--enable-pic',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user