Re: How to link with zlib?
Re: How to link with zlib?
- Subject: Re: How to link with zlib?
- From: Gord Peters <email@hidden>
- Date: Mon, 7 Mar 2005 16:53:03 -0500
On Mar 7, 2005, at 3:54 PM, Gord Peters wrote:
First issue is that I don't know how to add libz.dylib to my XCode
projects (since you can't just browse to /usr/lib in the Finder).
ok, I figured this one out from the archives: Shift-Command-G
The second issue is that I'm not sure where I should link against
libz: in the library, or in the application? If I add -lz to the
"Other Linker Flags" setting in the library project, then I get an
error like this:
Still a bit confused on this one. One thing to note here is that my
wrapper library is build as a static library. I tried using the
-dylib_file option of libtool, but that only works when you're building
a dynamic library. Perhaps I need to find a static version of zlib?
Is it possible to have a static library be linked to a dynamic one?
Gord
_______________________________________________
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