Commit 1f536d3b authored by Thomas Jahns's avatar Thomas Jahns 🤸

Fix detection of NAG Fortran -shared link line argument.

parent 76059f03
......@@ -5220,6 +5220,8 @@ _LT_EOF
tmp_sharedflag='-G' ;;
*Sun\ F*) # Sun Fortran 8.3
tmp_sharedflag='-G' ;;
*NAG\ Fortran\ Compiler*)
tmp_sharedflag='-Wl,-shared' ;;
esac
_LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment