]> granicus.if.org Git - postgis/commitdiff
Added MINGW support as suggested by David Techer.
authorSandro Santilli <strk@keybit.net>
Wed, 13 Apr 2005 14:24:34 +0000 (14:24 +0000)
committerSandro Santilli <strk@keybit.net>
Wed, 13 Apr 2005 14:24:34 +0000 (14:24 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1610 b70326c6-7e19-0410-871a-916f4a2858ee

loader/Makefile

index 70710dc6d8a302ad7fa37ce985cb4b80474a265c..fa5cd7009d216d4a322bf312ecbc8dbdaccaa436 100644 (file)
@@ -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