mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-12 03:15:35 +08:00
Rename ignoreConfigureArgs to removeConfigureArgs
This commit is contained in:
@@ -25,7 +25,7 @@ trait librdkafka
|
|||||||
},
|
},
|
||||||
'--disable-zstd'
|
'--disable-zstd'
|
||||||
)
|
)
|
||||||
->ignoreConfigureArgs(
|
->removeConfigureArgs(
|
||||||
'--with-pic',
|
'--with-pic',
|
||||||
'--enable-pic',
|
'--enable-pic',
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -100,9 +100,9 @@ class UnixAutoconfExecutor extends Executor
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Ignore some configure args, to bypass the configure option checking for some libs.
|
* Remove some configure args, to bypass the configure option checking for some libs.
|
||||||
*/
|
*/
|
||||||
public function ignoreConfigureArgs(...$args): static
|
public function removeConfigureArgs(...$args): static
|
||||||
{
|
{
|
||||||
$this->ignore_args = [...$this->ignore_args, ...$args];
|
$this->ignore_args = [...$this->ignore_args, ...$args];
|
||||||
return $this;
|
return $this;
|
||||||
|
|||||||
Reference in New Issue
Block a user