summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
author sum2012 <consignpo@gmail.com>2016-03-27 21:15:53 +0800
committer sum2012 <consignpo@gmail.com>2016-03-27 21:15:53 +0800
commit38ebda11b46953d2ba3e957ae1dbdec3a9bf49d9 (patch)
tree635a10413a61e11e8011eb1eb9e9026e0bc66fbd /makefile
parente167d105899ebb4de1d6ea666ba5bfa534917906 (diff)
Fix compile win 64 bit with mingw 32 bit
Fix #739
Diffstat (limited to 'makefile')
-rw-r--r--makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/makefile b/makefile
index 31782fa36fe..7b7bba3a782 100644
--- a/makefile
+++ b/makefile
@@ -273,6 +273,9 @@ endif
endif
ifeq ($(OS),windows)
+ifndef $(MINGW64)
+ARCHITECTURE := _x86
+endif
ifeq ($(ARCHITECTURE),_x64)
WINDRES := $(MINGW64)/bin/windres
else