Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- ltmain.sh.orig
- +++ ltmain.sh
- @@ -2857,7 +2857,7 @@
- $debug_cmd
- # awkward: cmd appends spaces to result
- - func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |
- + func_convert_core_msys_to_w32_result=`( cmd /c "echo $1" ) 2>/dev/null |
- $SED -e 's/[ ]*$//' -e "$sed_naive_backslashify"`
- }
- #end: func_convert_core_msys_to_w32
- @@ -9824,20 +9824,7 @@
- last_robj=
- k=1
- - if test -n "$save_libobjs" && test : != "$skipped_export" && test yes = "$with_gnu_ld"; then
- - output=$output_objdir/$output_la.lnkscript
- - func_verbose "creating GNU ld script: $output"
- - echo 'INPUT (' > $output
- - for obj in $save_libobjs
- - do
- - func_to_tool_file "$obj"
- - $ECHO "$func_to_tool_file_result" >> $output
- - done
- - echo ')' >> $output
- - func_append delfiles " $output"
- - func_to_tool_file "$output"
- - output=$func_to_tool_file_result
- - elif test -n "$save_libobjs" && test : != "$skipped_export" && test -n "$file_list_spec"; then
- + if test -n "$save_libobjs" && test : != "$skipped_export" && test -n "$file_list_spec"; then
- output=$output_objdir/$output_la.lnk
- func_verbose "creating linker input file list: $output"
- : > $output
- @@ -9856,6 +9843,19 @@
- func_append delfiles " $output"
- func_to_tool_file "$output"
- output=$firstobj\"$file_list_spec$func_to_tool_file_result\"
- + elif test -n "$save_libobjs" && test : != "$skipped_export" && test yes = "$with_gnu_ld"; then
- + output=$output_objdir/$output_la.lnkscript
- + func_verbose "creating GNU ld script: $output"
- + echo 'INPUT (' > $output
- + for obj in $save_libobjs
- + do
- + func_to_tool_file "$obj"
- + $ECHO "$func_to_tool_file_result" >> $output
- + done
- + echo ')' >> $output
- + func_append delfiles " $output"
- + func_to_tool_file "$output"
- + output=$func_to_tool_file_result
- else
- if test -n "$save_libobjs"; then
- func_verbose "creating reloadable object files..."
Advertisement
Add Comment
Please, Sign In to add comment