ltmain.sh
changeset 608 d0fecf67cd93
parent 581 844addcf125e
child 729 dac996d69abb
     1.1 --- a/ltmain.sh	Thu Mar 06 06:22:33 2003 +0000
     1.2 +++ b/ltmain.sh	Sun Mar 09 21:38:18 2003 +0000
     1.3 @@ -2200,7 +2200,18 @@
     1.4  	if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
     1.5  	  eval cmds=\"$archive_expsym_cmds\"
     1.6  	else
     1.7 -	  eval cmds=\"$archive_cmds\"
     1.8 +	  save_deplibs="$deplibs"
     1.9 +	  for conv in $convenience; do
    1.10 +	    tmp_deplibs=
    1.11 +	    for test_deplib in $deplibs; do
    1.12 +	      if test "$test_deplib" != "$conv"; then
    1.13 +	        tmp_deplibs="$tmp_deplibs $test_deplib"
    1.14 +	      fi
    1.15 +	    done
    1.16 +	    deplibs="$tmp_deplibs"
    1.17 +	  done
    1.18 + 	  eval cmds=\"$archive_cmds\"
    1.19 +	  deplibs="$save_deplibs"
    1.20  	fi
    1.21  	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
    1.22  	for cmd in $cmds; do