From eeaade70bd47d88125800870be090c53db469cda Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Tue, 26 Sep 2017 01:05:46 -0500 Subject: [PATCH] Statically link libgcc on Windows Fix for ioq3 test builds for Windows x86 (cross-compiled from Ubuntu using mingw-w64) requiring libgcc_s_sjlj-1.dll. I'm unable to reproduce the issue using mingw-w64 in Debian or Cygwin. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dc40a65e..e40c0da7 100644 --- a/Makefile +++ b/Makefile @@ -613,7 +613,7 @@ ifdef MINGW CLIENT_LDFLAGS += -mwindows endif CLIENT_LIBS = -lgdi32 -lole32 - RENDERER_LIBS = -lgdi32 -lole32 -lopengl32 + RENDERER_LIBS = -lgdi32 -lole32 -lopengl32 -static-libgcc ifeq ($(USE_FREETYPE),1) FREETYPE_CFLAGS = -Ifreetype2