mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
attempt to fix macOS?
This commit is contained in:
parent
d789b1a472
commit
9ee623112d
@ -103,7 +103,7 @@ trait postgresql
|
||||
}
|
||||
|
||||
// configure
|
||||
shell()->cd($this->source_dir . '/build')->initializeEnv($this)
|
||||
$shell = shell()->cd($this->source_dir . '/build')->initializeEnv($this)
|
||||
->appendEnv($env)
|
||||
->exec(
|
||||
"{$envs} ../configure " .
|
||||
@ -122,7 +122,13 @@ trait postgresql
|
||||
'--without-pam ' .
|
||||
'--without-bonjour ' .
|
||||
'--without-tcl '
|
||||
)
|
||||
);
|
||||
|
||||
if (SPCTarget::getTargetOS() === 'Darwin') {
|
||||
FileSystem::replaceFileStr($this->source_dir . '/build/src/Makefile.global', '-lldap', '-lldap -llber');
|
||||
}
|
||||
|
||||
$shell
|
||||
->exec($envs . ' make -C src/bin/pg_config install')
|
||||
->exec($envs . ' make -C src/include install')
|
||||
->exec($envs . ' make -C src/common install')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user