We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6861e9c commit e8d1970Copy full SHA for e8d1970
src/SPC/builder/unix/library/krb5.php
@@ -27,15 +27,17 @@ protected function build(): void
27
'LIBRARY_PATH' => getenv('SPC_LIBRARY_PATH'),
28
]);
29
}
30
+ $args = [
31
+ '--disable-nls',
32
+ '--disable-rpath',
33
+ '--without-system-verto'];
34
+ if (PHP_OS_FAMILY === 'Darwin') {
35
+ $args[] = 'ac_cv_func_secure_getenv=no';
36
+ }
37
$make
38
->optionalLib('ldap', '--with-ldap', '--without-ldap')
39
->optionalLib('libedit', '--with-libedit', '--without-libedit')
- ->configure(
- '--disable-nls',
- '--disable-rpath',
- '--disable-silent-rules',
- '--without-system-verto',
- )
40
+ ->configure(...$args)
41
->make();
42
$this->patchPkgconfPrefix([
43
'krb5-gssapi.pc',
0 commit comments