• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Link to zlib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Link to zlib


  • Subject: Re: Link to zlib
  • From: email@hidden
  • Date: Wed, 11 Jun 2008 15:20:15 +0200


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 (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Link to zlib
      • From: Jens Alfke <email@hidden>
References: 
 >Link to zlib (From: Trygve Inda <email@hidden>)

  • Prev by Date: Re: Link to zlib
  • Next by Date: Re: knowing when WebView is done
  • Previous by thread: Re: Link to zlib
  • Next by thread: Re: Link to zlib
  • Index(es):
    • Date
    • Thread