aboutsummaryrefslogtreecommitdiff
path: root/mpy-cross/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mpy-cross/Makefile')
-rw-r--r--mpy-cross/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/mpy-cross/Makefile b/mpy-cross/Makefile
index ecf26ee31..3f9956620 100644
--- a/mpy-cross/Makefile
+++ b/mpy-cross/Makefile
@@ -50,7 +50,9 @@ SRC_C = \
gccollect.c \
ifeq ($(OS),Windows_NT)
-SRC_C += windows/fmode.c
+ ifeq (,$(findstring MSYS,$(UNAME_S)))
+ SRC_C += windows/fmode.c
+ endif
endif
OBJ = $(PY_O)