Re: linking shared libraries with dependent shared libraries
site_archiver@lists.apple.com Delivered-To: Darwin-dev@lists.apple.com On Oct 12, 2004, at 7:36 PM, Peter O'Gorman wrote: How about telling you to read the manpage for ld(1)? :-p Hope this helps, Peter _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I'm aware of that option. I may as well explicitly link against the entire dependency tree, which is what I want to avoid. I'm setting install_name to the bare filename (no path) since the product can be re-rooted. -dylib_file is the flag you need. On many platforms -L is used to search for symbols in dependent shared libraries, on darwin, the install_name that is encoded into the shared lib is the method that is used. If the dependent shared library is not yet installed then you have to use the -dylib_file flag. This email sent to site_archiver@lists.apple.com
participants (1)
-
Paul Forgey