From: Marek Vavrusa Date: Thu, 25 Aug 2016 17:40:00 +0000 (-0700) Subject: build: cleanup, fixes for FreeBSD X-Git-Tag: v1.2.0-rc1~108 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7df48e6cbfd42652c2448743c473855bb26da3be;p=thirdparty%2Fknot-resolver.git build: cleanup, fixes for FreeBSD --- diff --git a/lib/nsrep.h b/lib/nsrep.h index 87a99ecee..a52b382e0 100644 --- a/lib/nsrep.h +++ b/lib/nsrep.h @@ -17,6 +17,7 @@ #pragma once #include +#include #include #include diff --git a/platform.mk b/platform.mk index 4c7b7eb19..26298e0c9 100644 --- a/platform.mk +++ b/platform.mk @@ -49,7 +49,9 @@ else BINFLAGS += -pie LDFLAGS += -Wl,-z,relro,-z,now endif - LDFLAGS += -ldl + ifeq ($(UNAME),Linux) + LDFLAGS += -ldl + endif endif endif