diff --git a/Makefile.pdlibbuilder b/Makefile.pdlibbuilder index fbcb713..13c4ef0 100644 --- a/Makefile.pdlibbuilder +++ b/Makefile.pdlibbuilder @@ -633,7 +633,7 @@ ifeq ($(system), Windows) -Wl,--enable-auto-import "$(PDBINDIR)/pd.dll" c.ldlibs := cxx.flags := -fcheck-new - cxx.ldflags := -static-libstdc++ -shared \ + cxx.ldflags := -static-libgcc -static-libstdc++ -shared \ -Wl,--enable-auto-import "$(PDBINDIR)/pd.dll" cxx.ldlibs := shared.extension = dll