[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#7456) slapo-smbk5pwd: Makefile with -L



Hi,

At Wed, 28 Nov 2012 20:04:41 GMT,
michael@stroeder.com wrote:
> I'd like to propose the following patch to Makefile of slapo-smbk5pwd to ease
> building it without installed OpenLDAP client libs:

This ITS is a dup of #7309. 
http://www.openldap.org/its/index.cgi?findid=7309

And see also:
http://www.openldap.org/its/index.cgi?findid=7308

This problem is fixed in master, but not in 2.4 branch...

> diff --git a/contrib/slapd-modules/smbk5pwd/Makefile
> b/contrib/slapd-modules/smbk5pwd/Makefile
> index 46b340a..01c7bc2 100644
> --- a/contrib/slapd-modules/smbk5pwd/Makefile
> +++ b/contrib/slapd-modules/smbk5pwd/Makefile
> @@ -26,7 +26,7 @@ INCS=$(LDAP_INC) $(HEIMDAL_INC) $(SSL_INC)
>  
>  HEIMDAL_LIB=-L/usr/heimdal/lib -lkrb5 -lkadm5srv
>  SSL_LIB=-lcrypto
> -LDAP_LIB=-lldap_r -llber
> +LDAP_LIB=-L../../../libraries/libldap_r/.libs/ -lldap_r -llber
>  LIBS=$(LDAP_LIB) $(HEIMDAL_LIB) $(SSL_LIB)
>  
>  prefix=/usr/local

-- 
-- Name: SATOH Fumiyasu (fumiyas @ osstech co jp)
-- Business Home: http://www.OSSTech.co.jp/
-- GitHub Home: https://GitHub.com/fumiyas/