File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
src/SPC/builder/unix/library Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ protected function build(): void
103
103
}
104
104
105
105
// configure
106
- shell ()->cd ($ this ->source_dir . '/build ' )->initializeEnv ($ this )
106
+ $ shell = shell ()->cd ($ this ->source_dir . '/build ' )->initializeEnv ($ this )
107
107
->appendEnv ($ env )
108
108
->exec (
109
109
"{$ envs } ../configure " .
@@ -122,7 +122,13 @@ protected function build(): void
122
122
'--without-pam ' .
123
123
'--without-bonjour ' .
124
124
'--without-tcl '
125
- )
125
+ );
126
+
127
+ if (SPCTarget::getTargetOS () === 'Darwin ' ) {
128
+ FileSystem::replaceFileStr ($ this ->source_dir . '/build/src/Makefile.global ' , '-lldap ' , '-lldap -llber ' );
129
+ }
130
+
131
+ $ shell
126
132
->exec ($ envs . ' make -C src/bin/pg_config install ' )
127
133
->exec ($ envs . ' make -C src/include install ' )
128
134
->exec ($ envs . ' make -C src/common install ' )
You can’t perform that action at this time.
0 commit comments