Link to zlib
Link to zlib
- Subject: Link to zlib
- From: Trygve Inda <email@hidden>
- Date: Wed, 11 Jun 2008 13:52:57 +0000
- Thread-topic: Link to zlib
I need to link to zlib and want to be sure to do this the right way... So it
works on 10.4 and 10.5 (and 10.6 someday).
I read on another list that:
> 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.
So should I not have this in my project? Currently I have zlib listed along
with Cocoa.framework QuickTime.framework etc.
Is this not a good idea?
Thanks,
Trygve
_______________________________________________
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