Ticket #84: libtool.diff

File libtool.diff, 4.4 KB (added by Silvan Scherrer, 8 years ago)
  • libtool.m4

    old new  
    51315131      shrext_cmds=.dll
    51325132      _LT_TAGVAR(export_symbols_cmds, $1)='emxexp $libobjs $convenience | $SED -n -e '\''/^[[    ]]*\(;.*\)\?$/n; s/^[[  ]]*"\?_\([[^    "]]\+\)"\?\(\([[        ]]*\(;.*\)\?\)\|\([[    ]]\+.\+\)\)$/\1/p'\'' | sort | uniq > $export_symbols'
    51335133      _LT_TAGVAR(archive_cmds, $1)='\$ECHO "LIBRARY ${realname%%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/${realname%%$shared_ext}.def~
    5134         \$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/${realname%%$shared_ext}.def~
     5134        \$ECHO "DESCRIPTION \"${buildlevel}${buildlevel:+@@}$libname\"" >> $output_objdir/${realname%%$shared_ext}.def~
    51355135        \$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/${realname%%$shared_ext}.def~
    51365136        \$ECHO EXPORTS >> $output_objdir/${realname%%$shared_ext}.def~
    51375137        emxexp $libobjs $convenience | $SED /"_DLL_InitTerm"/d >> $output_objdir/${realname%%$shared_ext}.def~
    51385138        $CC -Zdll -Zomf -o $lib $libobjs $deplibs $compiler_flags $output_objdir/${realname%%$shared_ext}.def'
    51395139      _LT_TAGVAR(archive_expsym_cmds, $1)='\$ECHO "LIBRARY ${realname%%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/${realname%%$shared_ext}.def~
    5140         \$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/${realname%%$shared_ext}.def~
     5140        \$ECHO "DESCRIPTION \"${buildlevel}${buildlevel:+@@}$libname\"" >> $output_objdir/${realname%%$shared_ext}.def~
    51415141        \$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/${realname%%$shared_ext}.def~
    51425142        \$ECHO EXPORTS >> $output_objdir/${realname%%$shared_ext}.def~
    51435143        prefix_cmds="$SED"~
     
    58405840      shrext_cmds='.dll'
    58415841      _LT_TAGVAR(export_symbols_cmds, $1)='emxexp $libobjs $convenience | $SED -n -e '\''/^[[    ]]*\(;.*\)\?$/n; s/^[[  ]]*"\?_\([[^    "]]\+\)"\?\(\([[        ]]*\(;.*\)\?\)\|\([[    ]]\+.\+\)\)$/\1/p'\'' | sort | uniq > $export_symbols'
    58425842      _LT_TAGVAR(archive_cmds, $1)='\$ECHO "LIBRARY ${realname%%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/${realname%%$shared_ext}.def~
    5843         \$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/${realname%%$shared_ext}.def~
     5843        \$ECHO "DESCRIPTION \"${buildlevel}${buildlevel:+@@}$libname\"" >> $output_objdir/${realname%%$shared_ext}.def~
    58445844        \$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/${realname%%$shared_ext}.def~
    58455845        \$ECHO EXPORTS >> $output_objdir/${realname%%$shared_ext}.def~
    58465846        emxexp $libobjs $convenience | $SED /"_DLL_InitTerm"/d >> $output_objdir/${realname%%$shared_ext}.def~
    58475847        $CC -Zdll -Zomf -o $lib $libobjs $deplibs $compiler_flags $output_objdir/${realname%%$shared_ext}.def'
    58485848      _LT_TAGVAR(archive_expsym_cmds, $1)='\$ECHO "LIBRARY ${realname%%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/${realname%%$shared_ext}.def~
    5849         \$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/${realname%%$shared_ext}.def~
     5849        \$ECHO "DESCRIPTION \"${buildlevel}${buildlevel:+@@}$libname\"" >> $output_objdir/${realname%%$shared_ext}.def~
    58505850        \$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/${realname%%$shared_ext}.def~
    58515851        \$ECHO EXPORTS >> $output_objdir/${realname%%$shared_ext}.def~
    58525852        prefix_cmds="$SED"~
     
    67126712        fi
    67136713        shrext_cmds='.dll'
    67146714        _LT_TAGVAR(archive_cmds, $1)='\$ECHO "LIBRARY ${realname%%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/${realname%%$shared_ext}.def~
    6715           \$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/${realname%%$shared_ext}.def~
     6715          \$ECHO "DESCRIPTION \"${buildlevel}${buildlevel:+@@}$libname\"" >> $output_objdir/${realname%%$shared_ext}.def~
    67166716          \$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/${realname%%$shared_ext}.def~
    67176717          \$ECHO EXPORTS >> $output_objdir/${realname%%$shared_ext}.def~
    67186718          emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/${realname%%$shared_ext}.def~
    67196719          $CC -Zdll -Zomf -o $lib $libobjs $deplibs $compiler_flags $output_objdir/${realname%%$shared_ext}.def'
    67206720        _LT_TAGVAR(archive_expsym_cmds, $1)='\$ECHO "LIBRARY ${realname%%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/${realname%%$shared_ext}.def~
    6721           \$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/${realname%%$shared_ext}.def~
     6721          \$ECHO "DESCRIPTION \"${buildlevel}${buildlevel:+@@}$libname\"" >> $output_objdir/${realname%%$shared_ext}.def~
    67226722          \$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/${realname%%$shared_ext}.def~
    67236723          \$ECHO EXPORTS >> $output_objdir/${realname%%$shared_ext}.def~
    67246724          prefix_cmds="$SED"~