--- ltmain.sh.orig	Sat Oct  4 13:21:01 2003
+++ ltmain.sh	Sat Oct  4 13:21:30 2003
@@ -1229,7 +1229,7 @@
 	fi
 	;;
 
-      *.$libext)
+      *.$libext | /System/Library/*Frameworks/*)
 	# An archive.
 	deplibs="$deplibs $arg"
 	old_deplibs="$old_deplibs $arg"
@@ -1456,7 +1456,7 @@
 	  continue
 	  ;;
 	*.la) lib="$deplib" ;;
-	*.$libext)
+	*.$libext | /System/Library/*Frameworks/*)
 	  if test $pass = conv; then
 	    deplibs="$deplib $deplibs"
 	    continue
