[iortcw] 168/497: All: Restore statically linked libraries for MingW build

Simon McVittie smcv at debian.org
Fri Sep 8 10:36:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit fb65f983a3825a1761c4e91c4c7f67e1139df929
Author: M4N4T4RMS at gmail.com <M4N4T4RMS at gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date:   Sat Jul 26 10:40:11 2014 +0000

    All: Restore statically linked libraries for MingW build
---
 MP/Makefile | 2 +-
 SP/Makefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/MP/Makefile b/MP/Makefile
index cc70b61..e326ad7 100644
--- a/MP/Makefile
+++ b/MP/Makefile
@@ -636,7 +636,7 @@ ifeq ($(PLATFORM),mingw32)
   LIBS= -lws2_32 -lwinmm -lpsapi
   # clang 3.4 doesn't support this
   ifneq ("$(CC)", $(findstring "$(CC)", "clang" "clang++"))
-    CLIENT_LDFLAGS += -mwindows
+    CLIENT_LDFLAGS += -mwindows -static-libgcc -static-libstdc++
   endif
   CLIENT_LIBS = -lgdi32 -lole32
   RENDERER_LIBS = -lgdi32 -lole32 -lopengl32
diff --git a/SP/Makefile b/SP/Makefile
index 5c45d50..038e115 100644
--- a/SP/Makefile
+++ b/SP/Makefile
@@ -645,7 +645,7 @@ ifeq ($(PLATFORM),mingw32)
   LIBS= -lws2_32 -lwinmm -lpsapi
   # clang 3.4 doesn't support this
   ifneq ("$(CC)", $(findstring "$(CC)", "clang" "clang++"))
-    CLIENT_LDFLAGS += -mwindows
+    CLIENT_LDFLAGS += -mwindows -static-libgcc -static-libstdc++
   endif
   CLIENT_LIBS = -lgdi32 -lole32
   RENDERER_LIBS = -lgdi32 -lole32 -lopengl32

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list