diff --git a/Makefile b/Makefile index 9e8c76eff2..abfe7efaf4 100644 --- a/Makefile +++ b/Makefile @@ -125,8 +125,10 @@ endif ifneq (Windows,$(UNAME)) ifneq (FreeBSD,$(UNAME)) - LDFLAGS += -ldl - LDLIBS += -ldl + ifneq (OpenBSD,$(UNAME)) + LDFLAGS += -ldl + LDLIBS += -ldl + endif endif endif