fix libpng not executable

This commit is contained in:
crazywhalecc 2023-04-09 12:10:09 +08:00
parent abfc60511d
commit 9970986a52
No known key found for this signature in database
GPG Key ID: 1F4BDD59391F2680
2 changed files with 2 additions and 0 deletions

View File

@ -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 " .

View File

@ -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 " .