Skip to content
Snippets Groups Projects
Commit 9067d770 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Link with -static-libgfortran under MinGW

parent 89ca683a
No related branches found
No related tags found
No related merge requests found
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
dnl Copyright (C) 2009-2011 Dynare Team dnl Copyright (C) 2009-2012 Dynare Team
dnl dnl
dnl This file is part of Dynare. dnl This file is part of Dynare.
dnl dnl
...@@ -30,7 +30,7 @@ case ${host_os} in ...@@ -30,7 +30,7 @@ case ${host_os} in
*mingw32*) *mingw32*)
# On mingw32, we don't want dynamic libgcc # On mingw32, we don't want dynamic libgcc
# Note that static-libstdc++ is only supported since GCC 4.5 (but generates no error on older versions) # Note that static-libstdc++ is only supported since GCC 4.5 (but generates no error on older versions)
LDFLAGS="$LDFLAGS -static-libgcc -static-libstdc++" LDFLAGS="$LDFLAGS -static-libgcc -static-libstdc++ -static-libgfortran"
have_windows="yes" have_windows="yes"
;; ;;
*cygwin*) *cygwin*)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment