mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-13 20:05:35 +08:00
remove useless softlink libpng.a (pointing to libpng16.a), causes imagick build failure if freetype or png is enabled
This commit is contained in:
@@ -67,7 +67,6 @@ class libpng extends LinuxLibraryBase
|
|||||||
->exec('chmod +x ./install-sh')
|
->exec('chmod +x ./install-sh')
|
||||||
->exec(
|
->exec(
|
||||||
"{$this->builder->configure_env} ./configure " .
|
"{$this->builder->configure_env} ./configure " .
|
||||||
"--host={$this->builder->getOption('gnu-arch')}-unknown-linux " .
|
|
||||||
'--disable-shared ' .
|
'--disable-shared ' .
|
||||||
'--enable-static ' .
|
'--enable-static ' .
|
||||||
'--enable-hardware-optimizations ' .
|
'--enable-hardware-optimizations ' .
|
||||||
@@ -77,9 +76,7 @@ class libpng extends LinuxLibraryBase
|
|||||||
)
|
)
|
||||||
->exec('make clean')
|
->exec('make clean')
|
||||||
->exec("make -j{$this->builder->concurrency} DEFAULT_INCLUDES='-I. -I" . BUILD_INCLUDE_PATH . "' LIBS= libpng16.la")
|
->exec("make -j{$this->builder->concurrency} DEFAULT_INCLUDES='-I. -I" . BUILD_INCLUDE_PATH . "' LIBS= libpng16.la")
|
||||||
->exec('make install-libLTLIBRARIES install-data-am DESTDIR=' . BUILD_ROOT_PATH)
|
->exec('make install-libLTLIBRARIES install-data-am DESTDIR=' . BUILD_ROOT_PATH);
|
||||||
->cd(BUILD_LIB_PATH)
|
|
||||||
->exec('ln -sf libpng16.a libpng.a');
|
|
||||||
$this->patchPkgconfPrefix(['libpng16.pc'], PKGCONF_PATCH_PREFIX);
|
$this->patchPkgconfPrefix(['libpng16.pc'], PKGCONF_PATCH_PREFIX);
|
||||||
$this->cleanLaFiles();
|
$this->cleanLaFiles();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user