From mboxrd@z Thu Jan 1 00:00:00 1970 From: peter at colberg.org (Peter Colberg) Date: Sun, 19 Jun 2016 18:55:53 -0400 Subject: [PATCH] Link with -ldl on GNU/kFreeBSD Message-ID: <1466376953-11504-1-git-send-email-peter@colberg.org> GNU/kFreeBSD uses the FreeBSD kernel with the GNU C library. --- cgit.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgit.mk b/cgit.mk index 369f309..35e40dc 100644 --- a/cgit.mk +++ b/cgit.mk @@ -54,7 +54,7 @@ endif endif # Add -ldl to linker flags on non-BSD systems. -ifeq ($(findstring BSD,$(uname_S)),) +ifeq (,$(filter $(uname_S),DragonFly FreeBSD NetBSD OpenBSD)) CGIT_LIBS += -ldl endif -- 2.8.1