]> Pileus Git - ~andy/git/commitdiff
Support building on GNU/Hurd
authorThomas Schwinge <tschwinge@gnu.org>
Thu, 2 Aug 2007 08:56:42 +0000 (10:56 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 3 Aug 2007 00:26:02 +0000 (17:26 -0700)
GNU/Hurd systems don't have strlcpy.

Signed-off-by: Thomas Schwinge <tschwinge@gnu.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile

index b593446efb1d86971de66f0928e63a879ae3aa59..2f3b9b23e3bffda6d97a7be83e6758e145ccb773 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -458,6 +458,10 @@ ifeq ($(uname_S),AIX)
        NO_STRLCPY = YesPlease
        NEEDS_LIBICONV=YesPlease
 endif
+ifeq ($(uname_S),GNU)
+       # GNU/Hurd
+       NO_STRLCPY=YesPlease
+endif
 ifeq ($(uname_S),IRIX64)
        NO_IPV6=YesPlease
        NO_SETENV=YesPlease