Rename ignoreConfigureArgs to removeConfigureArgs

This commit is contained in:
crazywhalecc 2025-06-10 15:39:14 +08:00 committed by Jerry Ma
parent 474fe63ad3
commit b320eb853a
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ trait librdkafka
},
'--disable-zstd'
)
->ignoreConfigureArgs(
->removeConfigureArgs(
'--with-pic',
'--enable-pic',
)

View File

@ -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];
return $this;