]> 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:11:12 +0000 (11:11 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 14 Mar 2005 11:11:12 +0000 (11:11 +0000)
dependency when creating shared libraries with Portland pgf77.

ChangeLog
m4/libtool.m4

index 36c58ffef0124f5ab0652655e26a5d6fcc2c303d..cdbf14fb11444785d45a0b6efec567aa49c6e694 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 857e33c82da57bab896bc95976493de4197001ae..84463389fc70143430462e4bf9976fdd59f2ea0a 100644 (file)
@@ -3684,7 +3684,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
@@ -3697,8 +3697,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