From 043d54cebf0ef3a7cc1d987a845d504407374adb Mon Sep 17 00:00:00 2001 From: parhs Date: Wed, 19 Oct 2016 11:47:09 +0300 Subject: [PATCH] Remove -ldl flag from OpenBSD too --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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