From 24423cccc9eae09e5b1dd974a4031b8c23862c37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sun, 14 Nov 2021 16:07:54 +0100 Subject: [PATCH] No libdl on Haiku libm and pthreads are superfluous as well. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 621aedd9..9ab49a3b 100644 --- a/Makefile +++ b/Makefile @@ -640,6 +640,9 @@ else ifeq ($(TARGET_RPI),1) else ifeq ($(OSX_BUILD),1) LDFLAGS := -lm $(BACKEND_LDFLAGS) -no-pie -lpthread +else ifeq ($(HOST_OS),Haiku) + LDFLAGS := $(BACKEND_LDFLAGS) -no-pie + else LDFLAGS := $(BITS) -march=$(TARGET_ARCH) -lm $(BACKEND_LDFLAGS) -lpthread -ldl ifeq ($(NO_PIE), 1)