diff ltmain.sh @ 608:d0fecf67cd93

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Sun, 09 Mar 2003 21:38:18 +0000
parents 844addcf125e
children dac996d69abb
line wrap: on
line diff
--- a/ltmain.sh	Thu Mar 06 06:22:33 2003 +0000
+++ b/ltmain.sh	Sun Mar 09 21:38:18 2003 +0000
@@ -2200,7 +2200,18 @@
 	if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
 	  eval cmds=\"$archive_expsym_cmds\"
 	else
-	  eval cmds=\"$archive_cmds\"
+	  save_deplibs="$deplibs"
+	  for conv in $convenience; do
+	    tmp_deplibs=
+	    for test_deplib in $deplibs; do
+	      if test "$test_deplib" != "$conv"; then
+	        tmp_deplibs="$tmp_deplibs $test_deplib"
+	      fi
+	    done
+	    deplibs="$tmp_deplibs"
+	  done
+ 	  eval cmds=\"$archive_cmds\"
+	  deplibs="$save_deplibs"
 	fi
 	IFS="${IFS= 	}"; save_ifs="$IFS"; IFS='~'
 	for cmd in $cmds; do