fix pkg-config build for macOS sonoma (#391)

* fix pkg-config build for macOS sonoma

* cs fix

* bump version to 2.1.6 [skip ci]
This commit is contained in:
Jerry Ma
2024-03-20 21:50:05 +08:00
committed by GitHub
parent 46984b6df1
commit 32f14e16c8
5 changed files with 5 additions and 5 deletions

View File

@@ -48,7 +48,7 @@ trait UnixLibraryTrait
* @throws RuntimeException
* @throws WrongUsageException
*/
public function makeAutoconfEnv(string $prefix = null): string
public function makeAutoconfEnv(?string $prefix = null): string
{
if ($prefix === null) {
$prefix = str_replace('-', '_', strtoupper(static::NAME));