21675201 openldap should be built with dynamic module support
authorzihao.zhu@oracle.com <zihao.zhu@oracle.com>
Mon, 27 Jun 2016 11:19:42 -0700
changeset 6292 42eb5996e258
parent 6291 54d9465147c1
child 6293 f3245760f53f
21675201 openldap should be built with dynamic module support 23698877 Need additional links from usr/share/man/man3ldap to usr/share/man/man3oldap
components/openldap/Makefile
components/openldap/openldap-client.p5m
--- a/components/openldap/Makefile	Mon Jun 27 10:11:01 2016 -0700
+++ b/components/openldap/Makefile	Mon Jun 27 11:19:42 2016 -0700
@@ -78,6 +78,7 @@
 CONFIGURE_OPTIONS += --disable-static
 CONFIGURE_OPTIONS += --enable-overlays
 CONFIGURE_OPTIONS += --enable-dynamic
+CONFIGURE_OPTIONS += --enable-modules
 CONFIGURE_OPTIONS += --enable-crypt
 CONFIGURE_OPTIONS += --enable-shared
 CONFIGURE_OPTIONS += --disable-bdb
@@ -109,6 +110,7 @@
 LD_UNSET.64="-R$(CYRUS_SASL_ROOT)$(USRLIBDIR.$(BITS))"
 LD_UNSET += $(LD_UNSET.$(BITS))
 COMPONENT_BUILD_ENV += LD_UNSET="$(LD_UNSET)"
+COMPONENT_BUILD_ENV += LTCFLAGS="-m$(BITS)"
 COMPONENT_INSTALL_ENV += LD_UNSET="$(LD_UNSET)"
 
 # special targets due to dependency on cyrus-sasl
--- a/components/openldap/openldap-client.p5m	Mon Jun 27 10:11:01 2016 -0700
+++ b/components/openldap/openldap-client.p5m	Mon Jun 27 11:19:42 2016 -0700
@@ -168,6 +168,7 @@
 file path=usr/share/man/man1oldap/ldapsearch.1oldap
 file path=usr/share/man/man1oldap/ldapurl.1oldap
 file path=usr/share/man/man1oldap/ldapwhoami.1oldap
+link path=usr/share/man/man3ldap target=man3oldap
 link path=usr/share/man/man3oldap/ber_alloc_t.3oldap target=lber-encode.3oldap
 link path=usr/share/man/man3oldap/ber_bvarray_add.3oldap \
     target=lber-types.3oldap