From 98e715c419815729d08aafae7bb0c844637d640a Mon Sep 17 00:00:00 2001 From: Oliver Behnke <oliver.behnke@aei.mpg.de> Date: Thu, 5 Nov 2020 17:55:01 +0100 Subject: [PATCH] Link libstdc++ statically (avoid dependency) --- src/starsphere/Makefile.mingw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/starsphere/Makefile.mingw b/src/starsphere/Makefile.mingw index eb20986..5fca55b 100644 --- a/src/starsphere/Makefile.mingw +++ b/src/starsphere/Makefile.mingw @@ -36,7 +36,7 @@ LIBS += -Wl,-Bdynamic LIBS += $(shell $(STARSPHERE_INSTALL)/bin/sdl2-config --static-libs) LIBS += -lopengl32 -lglu32 -LDFLAGS += -static-libgcc +LDFLAGS += -static-libgcc -static-libstdc++ CPPFLAGS += -I$(STARSPHERE_INSTALL)/include CPPFLAGS += $(shell $(STARSPHERE_INSTALL)/bin/sdl2-config --cflags) -- GitLab