diff options
author | Stefan Bühler <stbuehler@web.de> | 2017-10-24 16:16:36 +0200 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2017-10-28 22:41:32 -0400 |
commit | f78749d3c64b7a97df4c2e436e0cb6fecda437d8 (patch) | |
tree | 6e2fbd99c956cc486be40b1f5c8a1070f0b31ba1 | |
parent | 66e0cd16b2ff6ea60593bce06dffd4a476d4d234 (diff) | |
download | lighttpd-git-f78749d3c64b7a97df4c2e436e0cb6fecda437d8.tar.gz |
[scons] fix warnings with deprecated ldap api
-rw-r--r-- | SConstruct | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -329,6 +329,7 @@ if 1: fail("Couldn't find ldap") if not autoconf.CheckLibWithHeader('lber', 'lber.h', 'C', autoadd = 0): fail("Couldn't find lber") + autoconf.env.Append(CPPFLAGS = [ '-DLDAP_DEPRECATED=1' ]) autoconf.env.Append(CPPFLAGS = [ '-DHAVE_LDAP_H', '-DHAVE_LIBLDAP' ], LIBLDAP = 'ldap') autoconf.env.Append(CPPFLAGS = [ '-DHAVE_LBER_H', '-DHAVE_LIBLBER' ], LIBLBER = 'lber') |