From b5a7264905b5619e77d11110bb0f7bec80394145 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 21 May 2023 19:21:36 +0200 Subject: [PATCH] Fix build Signed-off-by: falkTX --- source/discovery/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/discovery/Makefile b/source/discovery/Makefile index 7a83c199e..b09394db2 100644 --- a/source/discovery/Makefile +++ b/source/discovery/Makefile @@ -39,6 +39,13 @@ ifeq ($(WINDOWS),true) LINK_FLAGS += -lole32 -lws2_32 -mwindows endif +ifeq ($(HAIKU),true) +LINK_FLAGS += -lpthread +else +BUILD_CXX_FLAGS += -pthread +LINK_FLAGS += -pthread +endif + ifeq ($(USING_JUCE),true) BUILD_CXX_FLAGS += -std=gnu++14 endif