File tree Expand file tree Collapse file tree 5 files changed +52
-2
lines changed
Expand file tree Collapse file tree 5 files changed +52
-2
lines changed Original file line number Diff line number Diff line change 322322 "headers" : [
323323 " krb5.h" ,
324324 " gssapi/gssapi.h"
325+ ],
326+ "lib-depends" : [
327+ " openssl"
328+ ],
329+ "lib-suggests" : [
330+ " ldap" ,
331+ " libedit"
325332 ]
326333 },
327334 "ldap" : {
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ namespace SPC \builder \macos \library ;
6+
7+ class idn2 extends MacOSLibraryBase
8+ {
9+ use \SPC \builder \unix \library \idn2;
10+
11+ public const NAME = 'idn2 ' ;
12+ }
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ namespace SPC \builder \macos \library ;
6+
7+ class libunistring extends MacOSLibraryBase
8+ {
9+ use \SPC \builder \unix \library \libunistring;
10+
11+ public const NAME = 'libunistring ' ;
12+ }
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ namespace SPC \builder \macos \library ;
6+
7+ class psl extends MacOSLibraryBase
8+ {
9+ use \SPC \builder \unix \library \psl;
10+
11+ public const NAME = 'psl ' ;
12+ }
Original file line number Diff line number Diff line change @@ -13,8 +13,15 @@ protected function build(): void
1313 $ this ->source_dir .= '/src ' ;
1414 shell ()->cd ($ this ->source_dir )->exec ('autoreconf -if ' );
1515 UnixAutoconfExecutor::create ($ this )
16- ->appendEnv (['LDFLAGS ' => '-Wl,--allow-multiple-definition ' ])
17- ->configure ()
16+ ->appendEnv ([
17+ 'LDFLAGS ' => '-Wl,--allow-multiple-definition ' ,
18+ ])
19+ ->optionalLib ('ldap ' , '--with-ldap ' , '--without-ldap ' )
20+ ->optionalLib ('libedit ' , '--with-readline ' , '--without-readline ' )
21+ ->configure (
22+ '--disable-nls ' ,
23+ '--disable-rpath ' ,
24+ )
1825 ->make ();
1926 $ this ->patchPkgconfPrefix ([
2027 'krb5-gssapi.pc ' ,
You can’t perform that action at this time.
0 commit comments