| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
DYLD_LIBRARY_PATH may help you get there, but it won't completely solve the problem.
Let's say you have app which dynamically links to lib1 which links to lib2. lib1 and lib2 are in /that/directory although they have dylib names in /usr/lib.
Setting DYLD_LIBRARY_PATH to include /that/directory will let the app link to lib1 without -L or -F, but it still won't find lib2. You can include both libraries in -l. While that's a pain to do because you have to anticipate the entire dependency graph, it might be easier than what you are doing now.
Peter -- Peter O'Gorman - http://www.pogma.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden
| References: | |
| >Re: SDKs and linking (From: Sam Vaughan <email@hidden>) | |
| >Re: SDKs and linking (From: Paul Forgey <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.