mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +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
|
protected function build(): void
|
||||||
{
|
{
|
||||||
UnixAutoconfExecutor::create($this)
|
UnixAutoconfExecutor::create($this)->configure('--enable-extra-encodings')->make();
|
||||||
->configure(
|
|
||||||
'--enable-pic',
|
|
||||||
'--enable-extra-encodings',
|
|
||||||
)
|
|
||||||
->make();
|
|
||||||
$this->patchLaDependencyPrefix(['libiconv.la']);
|
$this->patchLaDependencyPrefix(['libiconv.la']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16,7 +16,7 @@ trait onig
|
|||||||
*/
|
*/
|
||||||
protected function build(): void
|
protected function build(): void
|
||||||
{
|
{
|
||||||
UnixAutoconfExecutor::create($this)->configure('--enable-pic')->make();
|
UnixAutoconfExecutor::create($this)->configure()->make();
|
||||||
$this->patchPkgconfPrefix(['oniguruma.pc']);
|
$this->patchPkgconfPrefix(['oniguruma.pc']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -18,7 +18,6 @@ trait xz
|
|||||||
{
|
{
|
||||||
UnixAutoconfExecutor::create($this)
|
UnixAutoconfExecutor::create($this)
|
||||||
->configure(
|
->configure(
|
||||||
'--enable-pic',
|
|
||||||
'--disable-scripts',
|
'--disable-scripts',
|
||||||
'--disable-doc',
|
'--disable-doc',
|
||||||
'--with-libiconv',
|
'--with-libiconv',
|
||||||
|
|||||||
@ -108,6 +108,7 @@ class UnixAutoconfExecutor extends Executor
|
|||||||
'--enable-static',
|
'--enable-static',
|
||||||
"--prefix={$this->library->getBuildRootPath()}",
|
"--prefix={$this->library->getBuildRootPath()}",
|
||||||
'--with-pic',
|
'--with-pic',
|
||||||
|
'--enable-pic',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user