diff ltmain.sh @ 789:f9d0e03fc2ff

Date: Wed, 28 Jan 2004 02:37:04 +0100 From: Max Horn Subject: Small libtool patch (framework related) here is a small patch for ltmain.sh. It corrects a problems with the libSDL.la file, which prevented applications using a version of libtool w/o framework support (read: all currently released libtool version) to not being able to link with SDL anymore. I also notified the libtool maintainers, as the same problem exists in libtool CVS.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 28 Jan 2004 01:57:34 +0000
parents 97b9c301df94
children 05c551e5bc64
line wrap: on
line diff
--- a/ltmain.sh	Mon Jan 26 06:33:27 2004 +0000
+++ b/ltmain.sh	Wed Jan 28 01:57:34 2004 +0000
@@ -3500,7 +3500,7 @@
 	case $host in
 	  *-*-darwin*)
 	    newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).framework% -framework \1%g'`
-	    dependency_libs=`$echo "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).framework% -framework \1%g'`
+	    dependency_libs=`$echo "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).framework%%g'`
 	    ;;
 	esac
 	# Done checking deplibs!