TK/01
[users/jgh/exim.git] / src / OS / Makefile-CYGWIN
index e9b7a9ee7b8e25949804d28b3603e2113cc728ba..8bf51216c87b984c1172277c44aeb7f8b2b2ac2f 100644 (file)
@@ -1,4 +1,4 @@
-# $Cambridge: exim/src/OS/Makefile-CYGWIN,v 1.1 2004/10/06 15:07:39 ph10 Exp $
+# $Cambridge: exim/src/OS/Makefile-CYGWIN,v 1.3 2005/05/23 16:58:55 fanf2 Exp $
 
 # OS-specific file for Cygwin.
 
@@ -6,7 +6,7 @@
 
 HAVE_ICONV = yes
 CFLAGS= -g -Wall -O2
-LIBS= -lcrypt -lresolv
+LIBS= -lcrypt -lresolv -lm
 LIBS_EXIM= -liconv
 EXIWHAT_PS_ARG=-as
 EXIWHAT_KILL_SIGNAL=-USR1
@@ -65,10 +65,13 @@ SUPPORT_MBX=yes
 LOOKUP_DBM=yes
 LOOKUP_LSEARCH=yes
 
+LDAP_LIB_TYPE=OPENLDAP2
+LIBS_EXIM +=-lldap
+
 # LOOKUP_CDB=yes
 LOOKUP_DNSDB=yes
-LOOKUP_DSEARCH=yes
-LOOKUP_LDAP=yes
+LOOKUP_DSEARCH=yes
+LOOKUP_LDAP=yes
 # LOOKUP_MYSQL=yes
 # LOOKUP_NIS=yes
 # LOOKUP_NISPLUS=yes