diff options
author | Benoit Germain <bnt.germain@gmail.com> | 2020-04-22 11:26:16 +0200 |
---|---|---|
committer | Benoit Germain <bnt.germain@gmail.com> | 2020-04-22 11:26:16 +0200 |
commit | a24e54d7d506d4ac38516143b25593922a9959cf (patch) | |
tree | 43be32f77cdb0c29128fa5c95af3d8d3b06dc26f /src | |
parent | 237c642fb50ee0d4c777fc9cd0e7a5b0ead7cabd (diff) | |
download | lanes-a24e54d7d506d4ac38516143b25593922a9959cf.tar.gz lanes-a24e54d7d506d4ac38516143b25593922a9959cf.tar.bz2 lanes-a24e54d7d506d4ac38516143b25593922a9959cf.zip |
Makefile detect MinGW 64 as well as MinGW 32
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile index 9dc75a1..8729c29 100644 --- a/src/Makefile +++ b/src/Makefile | |||
@@ -19,12 +19,12 @@ OPT_FLAGS=-O2 | |||
19 | # -O0 -g | 19 | # -O0 -g |
20 | 20 | ||
21 | _SO=so | 21 | _SO=so |
22 | ifeq "$(findstring MINGW32,$(shell uname -s))" "MINGW32" | 22 | ifeq "$(findstring MINGW,$(shell uname -s))" "MINGW" |
23 | _SO=dll | 23 | _SO=dll |
24 | endif | 24 | endif |
25 | 25 | ||
26 | ifeq "$(LUAROCKS)" "" | 26 | ifeq "$(LUAROCKS)" "" |
27 | ifeq "$(findstring MINGW32,$(shell uname -s))" "MINGW32" | 27 | ifeq "$(findstring MINGW,$(shell uname -s))" "MINGW" |
28 | # MinGW MSYS on Windows | 28 | # MinGW MSYS on Windows |
29 | # | 29 | # |
30 | # - 'lua' and 'luac' expected to be on the path | 30 | # - 'lua' and 'luac' expected to be on the path |