X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2FMakefile;h=b23d671f07600388a87a3956fc211980f1659352;hp=ea00e7286982af94412422c7cadba6efbecf8851;hb=d54e8a59551a7ebcbf2c2155dce46c7386b1742a;hpb=054d117d257c3c92c4904fcc5c932079d2516007 diff --git a/src/Makefile b/src/Makefile index ea00e728..b23d671f 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,6 +1,6 @@ # Stockfish, a UCI chess playing engine derived from Glaurung 2.1 # Copyright (C) 2004-2008 Tord Romstad (Glaurung author) -# Copyright (C) 2008-2012 Marco Costalba, Joona Kiiski, Tord Romstad +# Copyright (C) 2008-2013 Marco Costalba, Joona Kiiski, Tord Romstad # # Stockfish is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -256,6 +256,10 @@ endif ### 3.3 General linker settings LDFLAGS = $(EXTRALDFLAGS) +ifeq ($(comp),mingw) + LDFLAGS += -static-libstdc++ -static-libgcc +endif + ### On mingw use Windows threads, otherwise POSIX ifneq ($(comp),mingw) # Haiku has pthreads in its libroot, so only link it in on other platforms