mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-07 08:45:40 +08:00
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:
@@ -8,7 +8,7 @@ trait pkgconfig
|
||||
{
|
||||
protected function build(): void
|
||||
{
|
||||
$macos_env = "CFLAGS='{$this->builder->arch_c_flags} -Wimplicit-function-declaration' ";
|
||||
$macos_env = "CFLAGS='{$this->builder->arch_c_flags} -Wimplicit-function-declaration -Wno-int-conversion' ";
|
||||
$linux_env = 'LDFLAGS=--static ';
|
||||
|
||||
shell()->cd($this->source_dir)
|
||||
|
||||
Reference in New Issue
Block a user