From efefb940e9ecfae6ab722a5d2953e0a8f619d65c Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Thu, 2 Aug 2018 13:30:44 -0300 Subject: Windows binary: do not hardcode SYSTEM as "MINGW" --- binary/all_in_one | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/binary/all_in_one b/binary/all_in_one index dcef0fbf..4547d772 100755 --- a/binary/all_in_one +++ b/binary/all_in_one @@ -139,10 +139,10 @@ end local function write_hardcoded_module(dir) - local system = if_platform("windows", "MINGW") + local system local processor = if_platform("windows", "x86") - if not system then + if if_platform("unix", true) then system = util.popen_read("uname -s") processor = util.popen_read("uname -m") -- cgit v1.2.3-55-g6feb