mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
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
This commit is contained in:
parent
d71f707040
commit
e5da0e4b79
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ ifeq ($(COMP),mingw)
|
|||
comp=mingw
|
||||
CXX=g++
|
||||
CXXFLAGS += -Wextra -Wshadow
|
||||
LDFLAGS += -static-libstdc++ -static-libgcc
|
||||
LDFLAGS += -static
|
||||
endif
|
||||
|
||||
ifeq ($(COMP),icc)
|
||||
|
|
Loading…
Add table
Reference in a new issue