From 97abc19182490e4032da0e8ef3173cd0b5015f0a Mon Sep 17 00:00:00 2001 From: Hanicef Date: Sun, 31 Dec 2023 22:28:05 +0100 Subject: [PATCH] Pass -mconsole on MinGW build --- src/Makefile.d/dedicated.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Makefile.d/dedicated.mk b/src/Makefile.d/dedicated.mk index f77b88e80..def32b7fc 100644 --- a/src/Makefile.d/dedicated.mk +++ b/src/Makefile.d/dedicated.mk @@ -9,6 +9,10 @@ ifdef FREEBSD libs+=-lpthread endif +ifdef MINGW +libs+=-mconsole +endif + ifndef NOTHREADS opts+=-DHAVE_THREADS sources+=dedicated/i_threads.c