mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
Fix ldap build
This commit is contained in:
parent
25c2bafa88
commit
9e8119e69c
@ -27,7 +27,10 @@ trait ldap
|
|||||||
'--without-systemd',
|
'--without-systemd',
|
||||||
'--without-cyrus-sasl',
|
'--without-cyrus-sasl',
|
||||||
)
|
)
|
||||||
->appendEnv(['LDFLAGS' => "-L{$this->getLibDir()}"])
|
->appendEnv([
|
||||||
|
'LDFLAGS' => "-L{$this->getLibDir()}",
|
||||||
|
'CPPFLAGS' => "-I{$this->getIncludeDir()}",
|
||||||
|
])
|
||||||
->configure()
|
->configure()
|
||||||
->exec('sed -i -e "s/SUBDIRS= include libraries clients servers tests doc/SUBDIRS= include libraries clients servers/g" Makefile')
|
->exec('sed -i -e "s/SUBDIRS= include libraries clients servers tests doc/SUBDIRS= include libraries clients servers/g" Makefile')
|
||||||
->make();
|
->make();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user