From bd2cd7843cbb63f007a4280e2b7f6d7b35b044da Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Wed, 13 Apr 2005 14:24:34 +0000 Subject: [PATCH] Added MINGW support as suggested by David Techer. git-svn-id: http://svn.osgeo.org/postgis/trunk@1610 b70326c6-7e19-0410-871a-916f4a2858ee --- loader/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/loader/Makefile b/loader/Makefile index 70710dc6d..fa5cd7009 100644 --- a/loader/Makefile +++ b/loader/Makefile @@ -8,7 +8,11 @@ SHELL = /bin/sh subdir = contrib/postgis/loader EXE = -ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN) +UNAME = $(shell uname) +ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN) + EXE = .exe +endif +ifeq ($(findstring MINGW,$(UNAME)),MINGW) EXE = .exe endif -- 2.50.0