From: Ralf Wildenhues Date: Mon, 14 Mar 2005 11:12:05 +0000 (+0000) Subject: * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [linux]: Remove MAIN_ X-Git-Tag: release-1-5-16~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0fd829072822f96f6e74a485358197c03632fd2;p=thirdparty%2Flibtool.git * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [linux]: Remove MAIN_ dependency when creating shared libraries with Portland pgf77. --- diff --git a/ChangeLog b/ChangeLog index 2f87059f2..99bdbdf03 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-03-14 Ralf Wildenhues + + * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [linux]: Remove MAIN_ + dependency when creating shared libraries with Portland pgf77. + 2005-03-12 Ralf Wildenhues * ltmain.in (link mode): Reword double negation in error message. diff --git a/libtool.m4 b/libtool.m4 index fb8fe4c1b..392c26035 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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