Link with -static in mingw
authorMarco Costalba <mcostalba@gmail.com>
Sat, 14 Mar 2015 07:49:50 +0000 (08:49 +0100)
committerJoona Kiiski <joona.kiiski@gmail.com>
Sat, 14 Mar 2015 19:23:54 +0000 (19:23 +0000)
commite5da0e4b79b405da5bdc42f6fb4c2ba49afba00a
tree5d082571eed6f419e5dbc34384bb9d1a9b150337
parentd71f7070406bc018e3ca868461d77a90eaebfcbc
Link with -static in mingw

Fixes reported startup error about missing libwinpthread-1.dll
when the dll is not in the path.

The current -static-xxxx flags, introduced with:

https://github.com/official-stockfish/Stockfish/commit/373503f4a9a990054b5

Only take in account standard libraries, but not thread
library.

No functional change.

Resolves #289
src/Makefile