BUILD: makefile: enable crypt(3) for NetBSD
Allow NetBSD to support encrypted passwords in Userlists.
(cherry picked from commit 2f105b8a457625491f06c40ddea8d43b1ed5c561)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit ff6c55923ae2da30e74b83f60336b419791c3f2e)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 0e4dca1a1241a235f88f211cd83e0425536c8c75)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
diff --git a/Makefile b/Makefile
index c0a6a27..46033c7 100644
--- a/Makefile
+++ b/Makefile
@@ -423,8 +423,8 @@
# NetBSD 8 and above
ifeq ($(TARGET),netbsd)
set_target_defaults = $(call default_opts, \
- USE_POLL USE_TPROXY USE_THREAD USE_KQUEUE USE_ACCEPT4 USE_CLOSEFROM \
- USE_GETADDRINFO)
+ USE_POLL USE_TPROXY USE_LIBCRYPT USE_THREAD USE_KQUEUE USE_ACCEPT4 \
+ USE_CLOSEFROM USE_GETADDRINFO)
endif
# AIX 5.1 only