mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-07 16:55:38 +08:00
Add autoconf executor
This commit is contained in:
@@ -80,13 +80,9 @@ trait postgresql
|
||||
throw new RuntimeException('Unsupported version for postgresql: ' . $version . ' !');
|
||||
}
|
||||
|
||||
$env = [
|
||||
'CFLAGS' => $this->getLibExtraCFlags() . ' ' . $cflags,
|
||||
'LDFLAGS' => $this->getLibExtraLdFlags(),
|
||||
'LIBS' => $this->getLibExtraLibs(),
|
||||
];
|
||||
// configure
|
||||
shell()->cd($this->source_dir . '/build')->initializeEnv($this)
|
||||
->appendEnv(['CFLAGS' => $cflags])
|
||||
->exec(
|
||||
"{$envs} ../configure " .
|
||||
"--prefix={$builddir} " .
|
||||
|
||||
Reference in New Issue
Block a user