Fixing -shared error message for nagfor compiler.

* m4/libtool.m4: Fix -shared.
This commit is contained in:
Juergen Reuter 2012-02-01 01:31:11 +01:00 committed by Gary V. Vaughan
parent 3467227ccb
commit b25625e6b2

2
m4/libtool.m4 vendored
View 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= ;;