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: Parimal Das <email@hidden>
- Date: Mon, 19 Apr 2010 00:59:41 +0530
Thanks a lot Boris, that solves the issue :)
2010/4/19 Boris Dušek
<email@hidden>
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
--
-Parimal Das
[Action is Inevitable, And so are the consequences.]
_______________________________________________
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