Re: Problem with setting dylib paths to ship them in my app bundle (@executable_path/../Frameworks )
Re: Problem with setting dylib paths to ship them in my app bundle (@executable_path/../Frameworks )
- Subject: Re: Problem with setting dylib paths to ship them in my app bundle (@executable_path/../Frameworks )
- From: Boris Dušek <email@hidden>
- Date: Sun, 18 Apr 2010 21:09:48 +0200
On Sun, Apr 18, 2010 at 9:35 AM, Parimal Das <email@hidden> wrote:
> The problem here is:
> libABC is internally calling libXYZ,
> i am unable to change this path, to a path relative to my mach-o binary
> (inside my app bundle)
you can (and have to) change the path recorded in libABC.dylib which
tells to link to libXYZ.dylib, to have the correct path as well:
install_name_tool -change libXYZ.dylib
@executable_path/../Frameworks/libXYZ.dylib libABC.dylib
Not even a recompile should be needed now.
Best regards,
Boris Dušek
_______________________________________________
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