mirror of https://github.com/ioquake/ioq3.git
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.
This commit is contained in:
parent
414f3c5e3e
commit
eeaade70bd
2
Makefile
2
Makefile
|
@ -613,7 +613,7 @@ ifdef MINGW
|
||||||
CLIENT_LDFLAGS += -mwindows
|
CLIENT_LDFLAGS += -mwindows
|
||||||
endif
|
endif
|
||||||
CLIENT_LIBS = -lgdi32 -lole32
|
CLIENT_LIBS = -lgdi32 -lole32
|
||||||
RENDERER_LIBS = -lgdi32 -lole32 -lopengl32
|
RENDERER_LIBS = -lgdi32 -lole32 -lopengl32 -static-libgcc
|
||||||
|
|
||||||
ifeq ($(USE_FREETYPE),1)
|
ifeq ($(USE_FREETYPE),1)
|
||||||
FREETYPE_CFLAGS = -Ifreetype2
|
FREETYPE_CFLAGS = -Ifreetype2
|
||||||
|
|
Loading…
Reference in New Issue