Support building on GNU/Hurd
GNU/Hurd systems don't have strlcpy. Signed-off-by: Thomas Schwinge <tschwinge@gnu.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Thomas Schwinge committed
Aug 2, 2007 at 10:56 UTC
c29ba0c3edc513259eee572f9c9257ec7cd94a56
1 file changed
+4
Makefile
+4
@@ -458,6 +458,10 @@ ifeq ($(uname_S),AIX)
458
NO_STRLCPY = YesPlease
459
NEEDS_LIBICONV=YesPlease
460
endif
461
+ifeq ($(uname_S),GNU)
462
+ # GNU/Hurd
463
+ NO_STRLCPY=YesPlease
464
+endif
465
ifeq ($(uname_S),IRIX64)
466
NO_IPV6=YesPlease
467
NO_SETENV=YesPlease