Link with -ldl on GNU Hurd

Debian GNU/Hurd uses the GNU C library.

Signed-off-by: Peter Colberg <peter@colberg.org>
This commit is contained in:
Peter Colberg 2016-11-25 15:57:11 -05:00 committed by Jason A. Donenfeld
parent 5ccd965258
commit 2b993402c7

View File

@ -54,7 +54,7 @@ endif
endif endif
# Add -ldl to linker flags on systems that commonly use GNU libc. # 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 CGIT_LIBS += -ldl
endif endif