]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* m4/libtool.m4 (_LT_LINKER_SHLIBS) [linux]: Remove MAIN_
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 14 Mar 2005 11:10:26 +0000 (11:10 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 14 Mar 2005 11:10:26 +0000 (11:10 +0000)
dependency when creating shared libraries with Portland pgf77.

ChangeLog
m4/libtool.m4

index eda530bb477987928b13e566871b219737028327..1181dbf433a375ffd6ce1d06ebcda1903c9e83f4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-03-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * m4/libtool.m4 (_LT_LINKER_SHLIBS) [linux]: Remove MAIN_
+       dependency when creating shared libraries with Portland pgf77.
+
 2005-03-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * configure.ac: stamp-vcl is in $top_srcdir, not $top_builddir.
index 5c49ba73f8c3bf563aaf27d7955bae19b15e0e44..ace71c744b23d506384d43d772e197e6e1a3ef9e 100644 (file)
@@ -3690,7 +3690,7 @@ _LT_EOF
          ;;
        pgf77* | pgf90* )               # Portland Group f77 and f90 compilers
          _LT_TAGVAR(whole_archive_flag_spec, $1)=
-         tmp_addflag=' -fpic' ;;
+         tmp_addflag=' -fpic -Mnomain' ;;
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
          tmp_addflag=' -i_dynamic' ;;
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
@@ -3703,8 +3703,6 @@ _LT_EOF
 
         if test "x$supports_anon_versioning" = xyes; then
           _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "{ global:" > $output_objdir/$libname.ver~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~$ECHO "local: *; };" >> $output_objdir/$libname.ver~$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
-        else
-          _LT_TAGVAR(archive_expsym_cmds, $1)=$_LT_TAGVAR(archive_cmds, $1)
         fi
       else
         _LT_TAGVAR(ld_shlibs, $1)=no