From 6f9d42bd4e08e0d567ce41d127848fd46c63787e Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Tue, 3 May 2022 11:59:47 -0400 Subject: Fix build of Windows binary Fixes #1412. --- binary/Makefile.windows | 2 +- binary/all_in_one | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/binary/Makefile.windows b/binary/Makefile.windows index 8dbbc270..3e540279 100644 --- a/binary/Makefile.windows +++ b/binary/Makefile.windows @@ -8,7 +8,7 @@ OPENSSL_PLATFORM=mingw # Versions of dependencies LIBLUA_VERSION=5.4.3 OPENSSL_VERSION=1.0.2o -ZLIB_VERSION=1.2.11 +ZLIB_VERSION=1.2.12 BZIP2_VERSION=1.0.6 WINDOWS_DEPS_DIR=windows-deps-$(MINGW_PREFIX) diff --git a/binary/all_in_one b/binary/all_in_one index ca5ee49d..953fb227 100755 --- a/binary/all_in_one +++ b/binary/all_in_one @@ -426,7 +426,7 @@ local function generate(main_program, dir, skip) cfg.variables.LUA_LIBDIR .. "/" .. cfg.variables.LUALIB:gsub("%.so.*$", ".a"), if_platform("unix", "-ldl"), if_platform("unix", "-lpthread"), - if_platform("windows", "-mwindows"), + if_platform("windows", "-mconsole -mwindows"), "-lm" }), " ") print(cmd) -- cgit v1.2.3-55-g6feb