Re: SenTests, Frameworks and .dylibs
Re: SenTests, Frameworks and .dylibs
- Subject: Re: SenTests, Frameworks and .dylibs
- From: Alan Shouls <email@hidden>
- Date: Fri, 8 Aug 2008 13:51:13 +0100
Hi Chris,
If you can, use @loader_path or @rpath rather than @executable_path.
The @executable_path element is always expanded to the path of the
running executable -- otest -- rather than whatever module loads the
library in question. The @loader_path element is expanded to what
actually loads the library, and @rpath gives you fine-grained control
over the expansion (whatever is doing the linking can supply a set of
paths to search).
@loader_path is supported back to Mac OS X 10.4, and @rpath is new in
Mac OS X 10.5.
Thanks for the reply - it has really helped me understand what is going
on. The problem is a funny one as our framework and main app both link
against the dylib.
Alan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden