[PATCH] Link with -ldl on GNU Hurd
Peter Colberg
peter at colberg.org
Fri Nov 25 21:57:11 CET 2016
Debian GNU/Hurd uses the GNU C library.
Signed-off-by: Peter Colberg <peter at colberg.org>
---
cgit.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2.10.2
More information about the CGit
mailing list