Re: install_name_tool
Re: install_name_tool
- Subject: Re: install_name_tool
- From: "Sherm Pendley" <email@hidden>
- Date: Fri, 20 Jun 2008 05:55:30 -0400
On Thu, Jun 19, 2008 at 5:56 PM, Laurent Cerveau <email@hidden> wrote:
>
> On Jun 19, 2008, at 11:02 PM, Kyle Sluder wrote:
>
>> On Thu, Jun 19, 2008 at 4:40 PM, Martin <email@hidden> wrote:
>>>
>>> And as you can see, nothing has changed and the first line has certainly
>>> not
>>> been replaced by "bla". What am I doing wrong?
>>
>> Shouldn't you be using the -id flag, not -change?
>
> I usually do both of them (for framework embedding). E.g to make a framework
> embeddable
Usually? I smell a cargo cult.
> install_name_tool -change /Library/Frameworks/$EXECUTABLE_PATH
> @executable_path/../Frameworks/$EXECUTABLE_PATH $EXECUTABLE_NAME
> install_name_tool -id @executable_path/../Frameworks/$EXECUTABLE_PATH
> $EXECUTABLE_NAME
>
> I think one option is about install path while the other is about
> identification
The man page says exactly what the options are for, no thought
required. :-) The -id option sets the install name for a framework.
The -change option is used when you want to modify something that's
been linked to the framework.
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
_______________________________________________
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