mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-20 23:35:37 +08:00
Forward-port #1087
This commit is contained in:
@@ -19,7 +19,9 @@ class krb5
|
||||
#[BuildFor('Darwin')]
|
||||
public function build(LibraryPackage $lib, PackageInstaller $installer): void
|
||||
{
|
||||
shell()->cd($lib->getSourceRoot())->exec('autoreconf -if');
|
||||
if (!file_exists($lib->getSourceRoot() . '/configure')) {
|
||||
shell()->cd($lib->getSourceRoot())->exec('autoreconf -if');
|
||||
}
|
||||
|
||||
$resolved = array_keys($installer->getResolvedPackages());
|
||||
$spc = new SPCConfigUtil(['no_php' => true, 'libs_only_deps' => true]);
|
||||
|
||||
@@ -22,6 +22,10 @@ class libjpeg
|
||||
->addConfigureArgs(
|
||||
'-DENABLE_STATIC=ON',
|
||||
'-DENABLE_SHARED=OFF',
|
||||
'-DWITH_SYSTEM_ZLIB=ON',
|
||||
'-DWITH_TOOLS=OFF',
|
||||
'-DWITH_TESTS=OFF',
|
||||
'-DWITH_SIMD=OFF',
|
||||
)
|
||||
->build();
|
||||
// patch pkgconfig
|
||||
|
||||
Reference in New Issue
Block a user