mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 13:24:51 +08:00
fix libpng not executable
This commit is contained in:
parent
abfc60511d
commit
9970986a52
@ -45,6 +45,7 @@ class libpng extends LinuxLibraryBase
|
||||
Patcher::patchUnixLibpng();
|
||||
|
||||
shell()->cd($this->source_dir)
|
||||
->exec('chmod +x ./configure')
|
||||
->exec(
|
||||
"{$this->builder->configure_env} ./configure " .
|
||||
"--host={$this->builder->gnu_arch}-unknown-linux " .
|
||||
|
||||
@ -44,6 +44,7 @@ class libpng extends MacOSLibraryBase
|
||||
// patch configure
|
||||
Patcher::patchUnixLibpng();
|
||||
shell()->cd($this->source_dir)
|
||||
->exec('chmod +x ./configure')
|
||||
->exec(
|
||||
"{$this->builder->configure_env} ./configure " .
|
||||
"--host={$this->builder->gnu_arch}-apple-darwin " .
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user