[scons] fix warnings with deprecated ldap api

personal/stbuehler/cleanup-build
Stefan Bühler 5 years ago committed by Glenn Strauss
parent 66e0cd16b2
commit f78749d3c6

@ -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')

Loading…
Cancel
Save