Fix missing -static-libgcc for dlls

This commit is contained in:
Manuel Pégourié-Gonnard 2015-08-10 16:41:14 +02:00
parent 7f61053371
commit af39e3e597
2 changed files with 3 additions and 1 deletions

View file

@ -12,6 +12,8 @@ Bugfix
* Fix thread-safety issue in SSL debug module (found by Edwin van Vliet).
* Fix build error with CMake and pre-4.5 versions of GCC (found by Hugo
Leisink).
* Fix missing -static-ligcc when building shared libraries for Windows with
make.
Changes
* Add SSL_MIN_DHM_BYTES configuration parameter in config.h to choose the

View file

@ -83,7 +83,7 @@ libpolarssl.dylib: libpolarssl.a
libpolarssl.dll: libpolarssl.a
echo " LD $@"
$(CC) -shared -Wl,-soname,$@ -o $@ $(OBJS) -lws2_32 -lwinmm -lgdi32
$(CC) -shared -Wl,-soname,$@ -o $@ $(OBJS) -lws2_32 -lwinmm -lgdi32 -static-libgcc
.c.o:
echo " CC $<"