aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Colberg <peter@colberg.org>2016-11-25 15:57:11 -0500
committerJason A. Donenfeld <Jason@zx2c4.com>2016-11-25 21:58:18 +0100
commit2b993402c7ed5849606a5bf4d3c7cb212f491b06 (patch)
tree3a48a3ecc5ed43b2bfd5e2b12943b550c3ae7d00
parent5ccd96525835b314c8615738d533d9d0b54a630c (diff)
downloadcgit-2b993402c7ed5849606a5bf4d3c7cb212f491b06.tar.gz
cgit-2b993402c7ed5849606a5bf4d3c7cb212f491b06.tar.bz2
cgit-2b993402c7ed5849606a5bf4d3c7cb212f491b06.zip
Link with -ldl on GNU Hurd
Debian GNU/Hurd uses the GNU C library. Signed-off-by: Peter Colberg <peter@colberg.org>
-rw-r--r--cgit.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgit.mk b/cgit.mk
index 8d4f5e0..90a2346 100644
--- a/cgit.mk
+++ b/cgit.mk
@@ -54,7 +54,7 @@ endif
endif
# Add -ldl to linker flags on systems that commonly use GNU libc.
-ifneq (,$(filter $(uname_S),Linux GNU/kFreeBSD))
+ifneq (,$(filter $(uname_S),Linux GNU GNU/kFreeBSD))
CGIT_LIBS += -ldl
endif