summaryrefslogtreecommitdiff
path: root/src/Makefile.m32
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2007-08-24 17:08:49 +0000
committerGunter Knauf <gk@gknw.de>2007-08-24 17:08:49 +0000
commit68b215157fdf69612edebdb220b3804822277822 (patch)
tree0ba769865cf51131b890e5bf56017b5c202ead69 /src/Makefile.m32
parenta892cf2c12c77dbea9528187235761de466530fc (diff)
downloadcurl-68b215157fdf69612edebdb220b3804822277822.tar.gz
added defines to build with OpenLDAP.
Diffstat (limited to 'src/Makefile.m32')
-rw-r--r--src/Makefile.m3213
1 files changed, 8 insertions, 5 deletions
diff --git a/src/Makefile.m32 b/src/Makefile.m32
index b2b33531d..2aea0a52a 100644
--- a/src/Makefile.m32
+++ b/src/Makefile.m32
@@ -90,11 +90,14 @@ ifdef IPV6
endif
ifdef LDAPS
CFLAGS += -DHAVE_LDAP_SSL
- ifdef USE_LDAP_NOVELL
- # INCLUDES += -I"$(LDAP_SDK)/inc"
- CFLAGS += -DCURL_HAS_NOVELL_LDAPSDK
- curl_LDADD += -L"$(LDAP_SDK)/lib/mscvc" -lldapsdk -lldapssl -lldapx
- endif
+endif
+ifdef USE_LDAP_NOVELL
+ CFLAGS += -DCURL_HAS_NOVELL_LDAPSDK
+ curl_LDADD += -L"$(LDAP_SDK)/lib/mscvc" -lldapsdk -lldapssl -lldapx
+endif
+ifdef USE_LDAP_OPENLDAP
+ CFLAGS += -DCURL_HAS_OPENLDAP_LDAPSDK
+ curl_LDADD += -L"$(LDAP_SDK)/lib" -lldap -llber
endif
curl_LDADD += -lws2_32 -lwinmm -lwldap32
COMPILE = $(CC) $(INCLUDES) $(CFLAGS)