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