I just can't get my head wrapped around this. Every time I think I've got it, it turns out I'm wrong and it doesn't work. And yes, I've read tons of docs, tutorials, and man pages for the various parts in question, and I just don't understand.
I have a dylib that i want to include as part of my application bundle, which my app links to.
I use a Copy Files faze to copy the dylib into the appropriate location inside the application bundle at build time.
I have a script which runs during the build process which uses install_name_tool's -change operation to change the reference of /usr/local/lib/mylib.dylib to the path of the dylib in the application bundle. I have read the man pages for install_name_tool, and a lot of other stuff as well, I there seems to be some contradictory info out there of whether I should be using -change or -id, and I do not understand, precisely, the difference between the two, and/or if -id even applies to what I'm trying to accomplish.
A step-by-step on how to do this, and an explanation for future reference of the difference between -change and -id, (something beyond the syntax differences), would really help. I think I've been coding in Windows for just too long, and am finding a lot of this stuff bewildering.
Josh de Lioncourt
...my other mail provider is an owl...
|