diff --git a/mcwin32/Makefile.in b/mcwin32/Makefile.in index a6577a3..b0e016c 100644 --- a/mcwin32/Makefile.in +++ b/mcwin32/Makefile.in @@ -700,8 +700,8 @@ endif ifeq (mingw,$(findstring mingw,"@TOOLCHAIN@")) GCCBIN= $(dir $(shell which gcc 2>/dev/null)) -# mingw32 default to dw2 exception handling while mingw64 default to seh. ifneq ("$(wildcard $(GCCBIN)/libstdc++-6.dll)","") + # mingw32 default to dw2 exception handling while mingw64 default to seh. ifeq (mingw64,$(findstring mingw64,"@TOOLCHAIN@")) GCCEXPDLL=libgcc_s_seh-1.dll else @@ -709,20 +709,19 @@ GCCEXPDLL=libgcc_s_dw2-1.dll endif GCCSTDDLL=libstdc++-6.dll GCCTHRDLL=libwinpthread-1.dll - else - ifeq (mingw64,$(findstring mingw64,"@TOOLCHAIN@")) -GCCEXPDLL=msys-gcc_s_seh-1.dll - else -GCCEXPDLL=msys-gcc_s_dw2-1.dll - endif -GCCSTDDLL=msys-libstdc++-6.dll -GCCTHRDLL=msys-winpthread-1.dll - endif - IMPORT+=\ $(D_BIN)/$(GCCEXPDLL) \ $(D_BIN)/$(GCCSTDDLL) \ $(D_BIN)/$(GCCTHRDLL) + else + # XXX +GCCEXPDLL=msys-gcc_s-seh-1.dll +GCCSTDDLL=msys-stdc++-6.dll +GCCTHRDLL=msys-pthread-1.dll +IMPORT+=\ + $(D_BIN)/$(GCCEXPDLL) \ + $(D_BIN)/$(GCCSTDDLL) + endif endif AUTOUPDATER= no