7092513 Samba links liblber from openldap but should not do it.
authorJiri Sasek <Jiri.Sasek@Sun.COM>
Tue, 20 Sep 2011 08:15:06 -0700
changeset 521 77763f1ab54d
parent 520 9021000122ce
child 522 4cd5db2eaf05
7092513 Samba links liblber from openldap but should not do it.
components/samba/samba/patches/xtra-conf.in-liblber-avoid.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/samba/samba/patches/xtra-conf.in-liblber-avoid.patch	Tue Sep 20 08:15:06 2011 -0700
@@ -0,0 +1,14 @@
+--- source3/configure.in-bkp	2011-09-19 09:34:22.632025100 -0700
++++ source3/configure.in	2011-09-19 09:37:16.235176200 -0700
+@@ -3285,7 +3285,10 @@
+   ##################################################################
+   # we might need the lber lib on some systems. To avoid link errors
+   # this test must be before the libldap test
+-  AC_CHECK_LIB_EXT(lber, LDAP_LIBS, ber_scanf)
++ # The next test should be avoided because libldap60 already have (internal)
++ # ber_scanf but the liblber from openldap is searched first so liblber
++ # is added into LDAP_LIBS
++  #AC_CHECK_LIB_EXT(lber, LDAP_LIBS, ber_scanf)
+ 
+   ########################################################
+   # If ber_sockbuf_add_io() is available we can add