From da0644705986c2a38cdb32a85b57c3218473a272 Mon Sep 17 00:00:00 2001 From: NishiOwO <89888985+NishiOwO@users.noreply.github.com> Date: Sun, 17 Apr 2022 23:58:40 +0900 Subject: [PATCH] NetBSD / OpenBSD Support (#243) Thanks. This first PR is very clean :tada: --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4d192ae4..0bfeee52 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,12 @@ CFLAGS += -DDEBUG_STACK endif ifneq (${BUILD_ON_WINDOWS}, 1) -LDFLAGS += -ldl -lpthread +LDFLAGS += -lpthread +ifeq ($(uname -s), NetBSD) +else ifeq ($(uname -s), OpenBSD) +else +LDFLAGS += -ldl +endif endif ifeq (${USE_HELGRIND}, 1) -- 2.43.0