From: hpa <hpa@bonde.sc.orionmulti.com>
Date: Wed, 28 Sep 2005 23:37:37 +0000 (-0700)
Subject: Options to compile on Cygwin
X-Git-Tag: v0.99.9~225
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1775451793b4538e27047dfdb2feec4b46b766a9;p=git

Options to compile on Cygwin
---

diff --git a/Makefile b/Makefile
index 9920467d90..55b06f276b 100644
--- a/Makefile
+++ b/Makefile
@@ -172,6 +172,10 @@ ifeq ($(shell uname -s),SunOS)
 	TAR = gtar
 	PLATFORM_DEFINES += -D__EXTENSIONS__
 endif
+ifeq ($(shell uname -o),Cygwin)
+	NO_STRCASESTR = YesPlease
+	NEEDS_LIBICONV = YesPlease
+endif
 ifneq (,$(findstring arm,$(shell uname -m)))
 	ARM_SHA1 = YesPlease
 endif