1From 1f24231095a59debcf25d0e3309dc5d1056a7fad Mon Sep 17 00:00:00 2001
2From: Jens Rehsack <rehsack@gmail.com>
3Date: Thu, 19 Nov 2015 20:45:56 +0100
4Subject: [PATCH] avoid openldap unless wanted
5
6Upstream-Status: Inappropriate [embedded specific]
7
8Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
9---
10 wscript | 4 +---
11 1 file changed, 1 insertion(+), 3 deletions(-)
12
13diff --git a/wscript b/wscript
14index 722fdf6..22700d5 100644
15--- a/wscript
16+++ b/wscript
17@@ -153,9 +153,7 @@ def configure(conf):
18     if conf.env.standalone_ldb:
19         conf.CHECK_XSLTPROC_MANPAGES()
20
21-        # we need this for the ldap backend
22-        if conf.CHECK_FUNCS_IN('ber_flush ldap_open ldap_initialize', 'lber ldap', headers='lber.h ldap.h'):
23-            conf.env.ENABLE_LDAP_BACKEND = True
24+        conf.env.ENABLE_LDAP_BACKEND = False
25
26         # we don't want any libraries or modules to rely on runtime
27         # resolution of symbols
28--
292.17.1
30
31