On 11 Jun 2008, at 13:27, Trygve Inda wrote:

I am not quite sure how to do this (and maybe this belongs on the Xcode
list), but I need to link to zlib.

For such 'standard' libraries, the usual recommendation is to not add them to the project at all, but to add them to the 'Other Linker flags' in the target. For libzlib, you would use -lz

I think the reason for this is to avoid hard-coded dependancies on a particular version of the library.

Matt Gough

P.S - Yes, this should really be on the xcode list, not here.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to