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

ChangeLog
libtool.m4

index 2f87059f2abf5123bb6c3d03b841223978654c0a..99bdbdf032a6501ef555aaa5a8f67de8c83014a6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-03-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [linux]: Remove MAIN_
+       dependency when creating shared libraries with Portland pgf77.
+
 2005-03-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * ltmain.in (link mode): Reword double negation in error message.
index fb8fe4c1bf210ee7da2269d44ebe83754a049cdf..392c26035483074c5e8f7b46cbeb7a8cc8e30679 100644 (file)
@@ -5295,7 +5295,7 @@ EOF
        ;;
       pgf77* | pgf90* )                        # Portland Group f77 and f90 compilers
        _LT_AC_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
@@ -5310,8 +5310,6 @@ EOF
 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_AC_TAGVAR(archive_expsym_cmds, $1)=$_LT_AC_TAGVAR(archive_cmds, $1)
       fi
     else
       _LT_AC_TAGVAR(ld_shlibs, $1)=no