summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2017-10-24 16:16:36 +0200
committerGlenn Strauss <gstrauss@gluelogic.com>2017-10-28 22:41:32 -0400
commitf78749d3c64b7a97df4c2e436e0cb6fecda437d8 (patch)
tree6e2fbd99c956cc486be40b1f5c8a1070f0b31ba1
parent66e0cd16b2ff6ea60593bce06dffd4a476d4d234 (diff)
downloadlighttpd-git-f78749d3c64b7a97df4c2e436e0cb6fecda437d8.tar.gz
[scons] fix warnings with deprecated ldap api
-rw-r--r--SConstruct1
1 files changed, 1 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 2204e86e..1f00eebd 100644
--- a/SConstruct
+++ b/SConstruct
@@ -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')