From: NishiOwO <89888985+NishiOwO@users.noreply.github.com> Date: Sun, 17 Apr 2022 14:58:40 +0000 (+0900) Subject: NetBSD / OpenBSD Support (#243) X-Git-Tag: nightly~305^2~1 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=da0644705986c2a38cdb32a85b57c3218473a272;p=gwion.git NetBSD / OpenBSD Support (#243) Thanks. This first PR is very clean :tada: --- 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)