Re: distributing dylibs
Re: distributing dylibs
- Subject: Re: distributing dylibs
- From: Nick Zitzmann <email@hidden>
- Date: Fri, 9 Jul 2004 14:35:33 -0600
On Jul 9, 2004, at 2:03 PM, Matt Jarjoura wrote:
Am I forced to have to install the glib2.0.dylib file in the user's
/usr/local/lib directory or is there a switch I can use to not enforce
static directories?
There is no switch; Mach-O, unlike ELF, requires linked objects to be
located at a specific path. However, you can edit that path by using
the "install_name_tool" command line program. Look at its man page for
details.
And there is also a macro you can include in the static path,
"@executable_path", that resolves to the path of the executable binary.
Nick Zitzmann
<
http://www.chronosnet.com/>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.