--On Tuesday, March 13, 2012 6:46 PM +0200 Nikolaos Milas <nmi...@noa.gr> wrote:

Hello,

Now, how can we specify custom paths to LDAP libraries, header files,
etc. in the spec file ?

I do the following as part of CCARGS to postfix:

-DHAS_LDAP -DHAS_MYSQL -DUSE_TLS $(DBINC) $(PCRE_DEF) $(PCRE_INCLUDE) $(FD_SIZE) \
       $(URANDOM) \
       -DUSE_LDAP_SASL \
       -I/opt/zimbra/openldap-$(LDAP_VERSION)/include \
       -I$(MYSQL_INC) \
       -I/opt/zimbra/openssl-$(OPENSSL_VERSION)/include \
-I/opt/zimbra/cyrus-sasl-$(CYRUS_VERSION)/include/sasl -I/usr/include' \ AUXLIBS='$(EXTRALIBS) -L/opt/zimbra/cyrus-sasl-$(CYRUS_VERSION)/lib \
       $(DBLIB) -L/opt/zimbra/openldap-$(LDAP_VERSION)/lib $(PCRE_LIB) \
       -lldap -llber \
       -L$(MYSQL_LIB) \
       -L/opt/zimbra/openssl-$(OPENSSL_VERSION)/lib \
-lmysqlclient -lz -lm -L$(SYSTEM_LIB) -lsasl2 -lpthread -lssl -lcrypto'; \


--Quanah

--

Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration

Reply via email to