]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: makefile: Enable getaddrinfo() on OS/X
authorBrad Smith <brad@comstyle.com>
Fri, 9 Oct 2020 23:26:23 +0000 (19:26 -0400)
committerWilly Tarreau <w@1wt.eu>
Sat, 10 Oct 2020 08:09:29 +0000 (10:09 +0200)
Enable getaddrinfo() on OS/X.

Makefile

index db9bbe7e9a216d3a1593f0b474cd889bd665d12d..2fb05c7198b4fc4fe5cec029906dc925865c164f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -382,7 +382,8 @@ endif
 # Mac OS/X
 ifeq ($(TARGET),osx)
   set_target_defaults = $(call default_opts, \
-    USE_POLL USE_TPROXY USE_LIBCRYPT USE_THREAD USE_CPU_AFFINITY USE_KQUEUE)
+    USE_POLL USE_TPROXY USE_LIBCRYPT USE_THREAD USE_CPU_AFFINITY USE_KQUEUE   \
+    USE_GETADDRINFO)
   EXPORT_SYMBOL  = -export_dynamic
 endif