ltmain.sh
changeset 608 d0fecf67cd93
parent 581 844addcf125e
child 729 dac996d69abb
equal deleted inserted replaced
607:f8710950cddc 608:d0fecf67cd93
  2198 
  2198 
  2199 	# Do each of the archive commands.
  2199 	# Do each of the archive commands.
  2200 	if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
  2200 	if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
  2201 	  eval cmds=\"$archive_expsym_cmds\"
  2201 	  eval cmds=\"$archive_expsym_cmds\"
  2202 	else
  2202 	else
  2203 	  eval cmds=\"$archive_cmds\"
  2203 	  save_deplibs="$deplibs"
       
  2204 	  for conv in $convenience; do
       
  2205 	    tmp_deplibs=
       
  2206 	    for test_deplib in $deplibs; do
       
  2207 	      if test "$test_deplib" != "$conv"; then
       
  2208 	        tmp_deplibs="$tmp_deplibs $test_deplib"
       
  2209 	      fi
       
  2210 	    done
       
  2211 	    deplibs="$tmp_deplibs"
       
  2212 	  done
       
  2213  	  eval cmds=\"$archive_cmds\"
       
  2214 	  deplibs="$save_deplibs"
  2204 	fi
  2215 	fi
  2205 	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
  2216 	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
  2206 	for cmd in $cmds; do
  2217 	for cmd in $cmds; do
  2207 	  IFS="$save_ifs"
  2218 	  IFS="$save_ifs"
  2208 	  $show "$cmd"
  2219 	  $show "$cmd"