static and dynamic linking
static and dynamic linking
- Subject: static and dynamic linking
- From: Kevin Dixon <email@hidden>
- Date: Mon, 17 Nov 2008 19:24:45 -0800
Is there any way to specify and/or force Xcode (I'm using 2.4 btw) to
statically link against a library? For example, I downloaded an
open-source library, then built it into its .a and .dylib components,
using its ./configure script.
I put a reference to the ".a" file into my project, because I don't want
the hassle of distributing extra files with my application. To my
surprise, it built dynamically linking against the file. It wasn't until
I moved the .dylib files out of the same folder that it linked
statically properly. This seems like a bit of a hack. Any advise?
-Kevin
_______________________________________________
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