Thanks, but that's what I'm trying to avoid.  Don't you have to do the -id 
version for every file (changing its own name) and the -change version for 
every dependency in every file?  I'm hoping I can do something in the link 
commands and avoid having to patch up the files.

andy

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martins Innus
Sent: Tuesday, May 27, 2008 1:03 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] mac -install_name

Andy,

        I use "install_name_tool -change ....." and "install_name_tool -id ..."
in a script as a Run Script Build phase.  I don't know if you can do it
in XCode directly.  Seems to work.  Let me know if you need more info
and I'll dig up the exact script.

Martins

Andy Skinner wrote:
> I'll admit to being a little past the limit of my knowledge here ...
>
>
>
> We would like to specify the -install_name arg with which we link the
> shared libraries.  I think it is because we don't want the paths where
> these things were built to be in the files.  We're trying to replace the
> value with something like: "@load_path/<filename>".
>
>
>
> Is there a way to specify the -install_name argument on the Mac?
>
>
>
> I tried setting it in our linker flags, then saw it was in there
> already, and I think it is added by the OSG build.
>
>
>
> I have looked at the gmane archive, and found some mention of
> -install_name, but nothing I can see how to use.
>
>
>
> thanks
>
> andy
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to