Date: Wed, 28 Jan 2004 02:37:04 +0100
authorSam Lantinga <slouken@libsdl.org>
Wed, 28 Jan 2004 01:57:34 +0000
changeset 789f9d0e03fc2ff
parent 788 af9b588d639c
child 790 d39b74b8583c
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.
ltmain.sh
     1.1 --- a/ltmain.sh	Mon Jan 26 06:33:27 2004 +0000
     1.2 +++ b/ltmain.sh	Wed Jan 28 01:57:34 2004 +0000
     1.3 @@ -3500,7 +3500,7 @@
     1.4  	case $host in
     1.5  	  *-*-darwin*)
     1.6  	    newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).framework% -framework \1%g'`
     1.7 -	    dependency_libs=`$echo "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).framework% -framework \1%g'`
     1.8 +	    dependency_libs=`$echo "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).framework%%g'`
     1.9  	    ;;
    1.10  	esac
    1.11  	# Done checking deplibs!