$OpenBSD$

Index: Makefile
--- Makefile.orig
+++ Makefile
@@ -108,7 +108,7 @@ LDFLAGS += -lmsvcrt -lcomdlg32 -luser32 -lSDL2main -Wl
 SDL_LDFLAGS := -lSDL2
 GL_LDFLAGS := -lopengl32
 else
-LDFLAGS += -lc -lm -ldl
+LDFLAGS += -lc -lm
 endif
 
 ifeq ($(PLATFORM),Darwin)
