diff --git a/Makefile.plugins.mk b/Makefile.plugins.mk index 09125e23..5322be70 100644 --- a/Makefile.plugins.mk +++ b/Makefile.plugins.mk @@ -544,11 +544,13 @@ endif # --------------------------------------------------------------------------------------------------------------------- # CLAP -ifneq ($(HAIKU_OR_MACOS_OR_WASM_OR_WINDOWS),true) ifeq ($(HAVE_DGL),true) +ifneq ($(HAIKU),true) +ifneq ($(WASM),true) CLAP_LIBS = -lpthread endif endif +endif clap: $(clap) $(clapfiles)