BUILD: Makefile: fix linkage for Haiku.

At runtime, the haiku's loader displays `could not resolve symbol: __start_i_STG_ALLOC`
thus using linker setting fallback.
This commit is contained in:
David Carlier 2021-06-19 14:42:43 +00:00 committed by Willy Tarreau
parent dfee217b68
commit 953771b0e3

View File

@ -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