meta-openembedded/meta-networking/recipes-support/libldb/libldb/avoid-openldap-unless-wanted.patch
Jens Rehsack 60699c92e1 libldb: allow chosing ldap dependency instead of hard requiring it
Add a patch to remove the check for openldap but mark prove result negative unless
ldap dependency is enabled explicitely.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-01-04 12:58:10 -05:00

14 lines
547 B
Diff

--- a/wscript 2015-11-18 12:43:33.000000000 +0100
+++ b/wscript 2015-11-18 12:46:25.000000000 +0100
@@ -58,9 +58,7 @@
if conf.env.standalone_ldb:
conf.CHECK_XSLTPROC_MANPAGES()
- # we need this for the ldap backend
- if conf.CHECK_FUNCS_IN('ber_flush ldap_open ldap_initialize', 'lber ldap', headers='lber.h ldap.h'):
- conf.env.ENABLE_LDAP_BACKEND = True
+ conf.env.ENABLE_LDAP_BACKEND = False
# we don't want any libraries or modules to rely on runtime
# resolution of symbols