Build setting for embedded dylib?
Build setting for embedded dylib?
- Subject: Build setting for embedded dylib?
- From: Graham Cox <email@hidden>
- Date: Thu, 28 Feb 2013 13:53:39 +1100
Hi all,
I have a private dylib that my app links to. This dylib is copied into the app's bundle (at the moment into /Frameworks, this might be the wrong place), but at runtime this isn't found, as it appears to be searching in /usr/local/lib/.
What setting do I need to add to ensure that at runtime my app's executable searches in the right place for the dylib? I tried setting the Runpath Search Path to a @executable relative path, but that didn't work. I couldn't find the answer in the documentation.
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden