[SDL] dumb MacOS X bundle question...
walisser at mac.com
Sat Feb 15 13:32:01 PST 2003
On Saturday, February 15, 2003, at 03:01 PM,
<icculus at clutteredmind.org> wrote:
> Is there an easy way to do this?
The SDL frameworks are already setup to do this. All you have to do is
copy the frameworks into MyApp.app/Contents/Frameworks (the easiest way
is to add a CopyFiles build phase to a PB project).
If you want to use a regular .dylib (not a framework), you have to use
the -install_name option to libtool (or -dylib_install_name to ld),
with something like:
libtool [...] -dynamic -o mylib.dylib -install_name
This implies the following layout:
More information about the SDL