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