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