Skip to content

Commit 13cc579

Browse files
committed
fix WINNT autodetection
1 parent 740f901 commit 13cc579

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Make.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ ifeq ($(ARCH),i686)
5050
override ARCH = i387
5151
endif
5252

53-
ifeq ($(OS), MINGW32_NT-6.1)
54-
OS=WINNT
53+
ifneq (,$(findstring MINGW,$(OS)))
54+
override OS=WINNT
5555
endif
5656
#keep these if statements these separate
5757
ifeq ($(OS), WINNT)

0 commit comments

Comments
 (0)