Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Disable LDAP support since BCC headers are insufficient.

  • Loading branch information...
commit b5cc77bd252db6ca1f083fa4357c52f83e888af8 1 parent 3d81320
@gknauf gknauf authored
Showing with 9 additions and 2 deletions.
  1. +7 −1 lib/Makefile.b32
  2. +2 −1  src/Makefile.b32
View
8 lib/Makefile.b32
@@ -42,15 +42,21 @@ LDFLAGS = -q -lq -laa -tWD
INCDIRS = -I.;../include
LINKLIB = $(BCCDIR)/lib/cw32mt.lib
-# If you build with SSL support, set WITH_SSL=1
DEFINES = -DNDEBUG -DWIN32 -D_CONSOLE -D_MBCS -DBUILDING_LIBCURL
+# By default we disable LDAP support here since BCC headers are insufficient.
+!ifndef WITH_LDAP
+DEFINES = $(DEFINES) -DCURL_DISABLE_LDAP
+!endif
+
+# If you build with ZLIB support, set WITH_ZLIB=1
!ifdef WITH_ZLIB
DEFINES = $(DEFINES) -DHAVE_LIBZ -DHAVE_ZLIB_H
INCDIRS = $(INCDIRS);$(ZLIB_PATH)
LINKLIB = $(LINKLIB) $(ZLIB_PATH)/zlib.lib
!endif
+# If you build with SSL support, set WITH_SSL=1
!ifdef WITH_SSL
DEFINES = $(DEFINES) -DUSE_SSLEAY
INCDIRS = $(INCDIRS);$(OPENSSL_PATH)/inc32;$(OPENSSL_PATH)/inc32/openssl
View
3  src/Makefile.b32
@@ -38,7 +38,6 @@ LDFLAGS = -q -lq -lap
INCDIRS = -I.;../include;../lib
LINKLIB = $(BCCDIR)/lib/cw32mt.lib
-# If you build with SSL support, set WITH_SSL=1
DEFINES = -DNDEBUG -DWIN32
!ifdef DYNAMIC
@@ -48,12 +47,14 @@ LIBCURL_LIB = ../lib/libcurl.lib
DEFINES = $(DEFINES) -DCURL_STATICLIB
!endif
+# If you build with ZLIB support, set WITH_ZLIB=1
!ifdef WITH_ZLIB
DEFINES = $(DEFINES) -DHAVE_LIBZ -DHAVE_ZLIB_H
INCDIRS = $(INCDIRS);$(ZLIB_PATH)
LINKLIB = $(LINKLIB) $(ZLIB_PATH)/zlib.lib
!endif
+# If you build with SSL support, set WITH_SSL=1
!ifdef WITH_SSL
DEFINES = $(DEFINES) -DUSE_SSLEAY
INCDIRS = $(INCDIRS);$(OPENSSL_PATH)/inc32;$(OPENSSL_PATH)/inc32/openssl
Please sign in to comment.
Something went wrong with that request. Please try again.