Enforce static linkage of libgcc on Windows.

This commit is contained in:
Yamagi Burmeister 2017-06-16 13:48:58 +02:00
parent 327cea19f5
commit 6f1b2f101f

View file

@ -62,6 +62,8 @@ endif
# Base LDFLAGS. # Base LDFLAGS.
ifeq ($(OSTYPE), Darwin) ifeq ($(OSTYPE), Darwin)
LDFLAGS := -shared -arch i386 -arch x86_64 LDFLAGS := -shared -arch i386 -arch x86_64
else ifeq ($(OSTYPE), Windows)
LDFLAGS := -shared -static-libgcc
else else
LDFLAGS := -shared LDFLAGS := -shared
endif endif