COMP: add static libgcc, libstdc++ linking for mingw (fixes #2680)

- this solves some 'dangling' dependency problems that plagued earlier
  versions (when MS-MPI was not also installed).
This commit is contained in:
Mark Olesen 2023-01-24 18:20:53 +01:00
parent 03ab6c1a9d
commit 07c69fdf0d

View File

@ -35,6 +35,7 @@ LINKLIBSO = $(CC) $(c++FLAGS) -shared \
-Wl,--strip-all
LINKEXE = $(CC) $(c++FLAGS) \
-static-libgcc -static-libstdc++ \
-Wl,--enable-auto-import \
-Wl,--strip-all \
-Wl,--force-exe-suffix