]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Makefile.mk: delete redundant `HAVE_LDAP_SSL` macro [ci skip]
authorViktor Szakats <commit@vsz.me>
Sun, 5 Mar 2023 19:52:21 +0000 (19:52 +0000)
committerViktor Szakats <commit@vsz.me>
Sun, 5 Mar 2023 19:52:21 +0000 (19:52 +0000)
Since abebb2b8939c6b3e0f951eb2d9ec3729b569aa2c, we set this macro for
all Windows `wldap32` builds using `Makefile.mk`.

For OpenLDAP builds this macro is not enough to enable LDAPS, and
OpenLDAP is not an option in `Makefile.mk`. For Novell LDAP it might
have helped, but it's also not an option anymore in `Makefile.mk`.

The future for LDAPS is that we should enable it by default without
extra build knobs.

Reviewed-by: Marcel Raad
Closes #10681

lib/Makefile.mk

index 3418ad14ad8706379902ca04bfd3fa83492e65de..ebf88547c034ed05f31816db81880927fd7ac045 100644 (file)
@@ -310,9 +310,6 @@ endif
 ifneq ($(findstring -ipv6,$(CFG)),)
   CPPFLAGS += -DENABLE_IPV6
 endif
-ifneq ($(findstring -ldaps,$(CFG)),)
-  CPPFLAGS += -DHAVE_LDAP_SSL
-endif
 
 ifneq ($(findstring -watt,$(CFG))$(MSDOS),)
   WATT_PATH ?= $(PROOT)/../watt