Index: Makefile =================================================================== --- Makefile (revision 8422) +++ Makefile (working copy) @@ -31,7 +31,7 @@ else ifeq ($(OSTYPE),mingw) CFLAGS += -DPNG_STATIC -DZLIB_STATIC - LDFLAGS += -static-libgcc -static-libstdc++ -Wl,-Bstatic -lpthread -lbz2 -lz -Wl,-Bdynamic -Wl,--large-address-aware + LDFLAGS += -static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++ -lpthread -lbz2 -lz -Wl,--large-address-aware ifneq ($(STATIC),) ifeq ($(shell expr $(STATIC) \>= 1), 1) CFLAGS += -static