From: Juergen Reuter Date: Wed, 1 Feb 2012 00:31:11 +0000 (+0100) Subject: Fixing -shared error message for nagfor compiler. X-Git-Tag: v2.4.2.418~196 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f16abb06f7425b6468b01324740a5dad8a97ec59;p=thirdparty%2Flibtool.git Fixing -shared error message for nagfor compiler. * m4/libtool.m4: Fix -shared. --- diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 36398518c..97beb4801 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -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= ;;