]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: Makefile: fix linkage for Haiku.
authorDavid Carlier <devnexen@gmail.com>
Sat, 19 Jun 2021 14:42:43 +0000 (14:42 +0000)
committerWilly Tarreau <w@1wt.eu>
Fri, 25 Jun 2021 06:57:42 +0000 (08:57 +0200)
At runtime, the haiku's loader displays `could not resolve symbol: __start_i_STG_ALLOC`
thus using linker setting fallback.

Makefile

index b25c9ad52f992d68ad41465c1a979e416f291811..4b067676796bea8bd3cdf252444344ca4b4207c5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -343,7 +343,7 @@ endif
 # Haiku
 ifeq ($(TARGET),haiku)
   TARGET_LDFLAGS = -lnetwork
-  set_target_defaults = $(call default_opts,USE_POLL USE_TPROXY)
+  set_target_defaults = $(call default_opts,USE_POLL USE_TPROXY USE_OBSOLETE_LINKER)
 endif
 
 # For linux >= 2.6.28 and glibc