mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-08 17:35:36 +08:00
Fix ldap build
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user