Browse Source

check ostype directly

Waldemar Brodkorb 9 years ago
parent
commit
022e705d87
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mk/vars.mk

+ 1 - 1
mk/vars.mk

@@ -413,7 +413,7 @@ QUIET:=			--quiet
 endif
 FETCH_CMD?=		PATH='${HOST_PATH}' wget --timeout=$(ADK_WGET_TIMEOUT) -t 3 --no-check-certificate $(QUIET)
 
-ifeq ($(ADK_HOST_CYGWIN),y)
+ifneq (,$(filter CYGWIN%,${OStype}))
 EXEEXT:=		.exe
 endif