From 3c58deb46fba333e960d1e07bcd94f239822d418 Mon Sep 17 00:00:00 2001 From: "Anthony J. Bentley" Date: Sat, 5 Apr 2025 03:18:25 -0600 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20look=20for=20libdl=20on=20OpenB?= =?UTF-8?q?SD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3377b3f..d8ad09b 100644 --- a/Makefile +++ b/Makefile @@ -282,11 +282,13 @@ sdl: $(BIN)/SDL/xaudio2_9redist.dll endif else LDFLAGS += -lc -lm -# libdl is not available as a standalone library in Haiku +# libdl is not available as a standalone library in Haiku or OpenBSD ifneq ($(PLATFORM),Haiku) +ifneq ($(PLATFORM),OpenBSD) LDFLAGS += -ldl endif endif +endif ifeq ($(MAKECMDGOALS),_ios) OBJ := build/obj-ios