]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD/SMALL: threads: enable threads on osx
authorDavid Carlier <devnexen@gmail.com>
Fri, 13 Sep 2019 03:39:21 +0000 (04:39 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 17 Oct 2019 05:18:00 +0000 (07:18 +0200)
Enable multi thread on Darwin platform too.

Makefile

index 53a80d48ca9a8b305c39fda79faf579cc482f910..9cacb9330421fba2f3046df145ad6fbc8e579b19 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -356,7 +356,7 @@ endif
 # Mac OS/X
 ifeq ($(TARGET),osx)
   set_target_defaults = $(call default_opts, \
-    USE_POLL USE_TPROXY USE_LIBCRYPT USE_KQUEUE)
+    USE_POLL USE_TPROXY USE_LIBCRYPT USE_THREAD USE_KQUEUE)
   EXPORT_SYMBOL  = -export_dynamic
 endif