]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Fixing -shared error message for nagfor compiler.
authorJuergen Reuter <reuter@theoc01.desy.de>
Wed, 1 Feb 2012 00:31:11 +0000 (01:31 +0100)
committerPeter O'Gorman <peter@pogma.com>
Sun, 19 Feb 2012 20:55:06 +0000 (14:55 -0600)
* m4/libtool.m4: Fix -shared.

m4/libtool.m4

index 36398518ca4362ae3ea52a541e4bd0590c9ee282..97beb4801d08a13676472d2f165da29394c6ffb6 100644 (file)
@@ -4821,6 +4821,8 @@ _LT_EOF
        lf95*)                          # Lahey Fortran 8.1
          _LT_TAGVAR(whole_archive_flag_spec, $1)=
          tmp_sharedflag='--shared' ;;
+        nagfor*)                        # NAGFOR 5.3
+          tmp_sharedflag='-Wl,-shared' ;;
        xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
          tmp_sharedflag='-qmkshrobj'
          tmp_addflag= ;;