Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
788:af9b588d639c | 789:f9d0e03fc2ff |
---|---|
3498 fi | 3498 fi |
3499 # Time to change all our "foo.framework" stuff back to "-framework foo" | 3499 # Time to change all our "foo.framework" stuff back to "-framework foo" |
3500 case $host in | 3500 case $host in |
3501 *-*-darwin*) | 3501 *-*-darwin*) |
3502 newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).framework% -framework \1%g'` | 3502 newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).framework% -framework \1%g'` |
3503 dependency_libs=`$echo "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).framework% -framework \1%g'` | 3503 dependency_libs=`$echo "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).framework%%g'` |
3504 ;; | 3504 ;; |
3505 esac | 3505 esac |
3506 # Done checking deplibs! | 3506 # Done checking deplibs! |
3507 deplibs=$newdeplibs | 3507 deplibs=$newdeplibs |
3508 fi | 3508 fi |