/[libtool]/libtool/libtool.m4
ViewVC logotype

Diff of /libtool/libtool.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.314.2.110 by rwild, Fri Sep 9 15:56:16 2005 UTC revision 1.314.2.111 by pekberg, Tue Sep 20 12:22:31 2005 UTC
# Line 2944  case $host_os in Line 2944  case $host_os in
2944      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
2945    
2946      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
2947        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base ${wl}--out-implib,$lib'        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
2948        # If the export-symbols file already is a .def file (1st line        # If the export-symbols file already is a .def file (1st line
2949        # is EXPORTS), use it as is; otherwise, prepend...        # is EXPORTS), use it as is; otherwise, prepend...
2950        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
# Line 2953  case $host_os in Line 2953  case $host_os in
2953          echo EXPORTS > $output_objdir/$soname.def;          echo EXPORTS > $output_objdir/$soname.def;
2954          cat $export_symbols >> $output_objdir/$soname.def;          cat $export_symbols >> $output_objdir/$soname.def;
2955        fi~        fi~
2956        $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base ${wl}--out-implib,$lib'        $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
2957      else      else
2958        _LT_AC_TAGVAR(ld_shlibs, $1)=no        _LT_AC_TAGVAR(ld_shlibs, $1)=no
2959      fi      fi
# Line 5344  EOF Line 5344  EOF
5344        _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'        _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
5345    
5346        if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then        if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
5347          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base ${wl}--out-implib,$lib'          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
5348          # If the export-symbols file already is a .def file (1st line          # If the export-symbols file already is a .def file (1st line
5349          # is EXPORTS), use it as is; otherwise, prepend...          # is EXPORTS), use it as is; otherwise, prepend...
5350          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
# Line 5353  EOF Line 5353  EOF
5353            echo EXPORTS > $output_objdir/$soname.def;            echo EXPORTS > $output_objdir/$soname.def;
5354            cat $export_symbols >> $output_objdir/$soname.def;            cat $export_symbols >> $output_objdir/$soname.def;
5355          fi~          fi~
5356          $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base  ${wl}--out-implib,$lib'          $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
5357        else        else
5358          _LT_AC_TAGVAR(ld_shlibs, $1)=no          _LT_AC_TAGVAR(ld_shlibs, $1)=no
5359        fi        fi

Legend:
Removed from v.1.314.2.110  
changed lines
  Added in v.1.314.2.111

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26