How do I link with copied libs?
How do I link with copied libs?
- Subject: How do I link with copied libs?
- From: David Springer <email@hidden>
- Date: Mon, 22 Dec 2008 13:21:50 -0700
Folks,
I have a set of 3rd party dylibs to link against. But, before I link against them I need to do install_name_tool. So here is how I have all that set up:
1. Create an aggregate target called "Copy dylibs" that copies the dylibs from the distro to ${BUILT_PRODUCTS_DIR}/dylibs.
2. In that target, I have run script phase that does the install_name_tool.
3. In my main framework target, I link against the modified 3rd party dylibs. I do this by adding the modified dylibs as products, then dragging them into the Link phase of my main target.
Problem: How to I get it so my Deployment config to link against release 3rd party dylibs, but the Development config links against debug dylibs?
Thanks!
- Dave.S
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden