Re: Library Style -> STATIC, still linking dynamically
Re: Library Style -> STATIC, still linking dynamically
- Subject: Re: Library Style -> STATIC, still linking dynamically
- From: Drew McCormack <email@hidden>
- Date: Sat, 16 Oct 2004 18:40:49 +0200
On Oct 15, 2004, at 4:50 PM, Brent Gulanowski wrote:
This is weird. I'm building with some libs that have dynamic and
static. My build style specifies Static, the linking command lacks
"-dynamic", but the dynamic versions are being used anyway. What
gives?
(If I remove one of the dynamic libs, the program won't run and get a
missing shared lib error; and i can see the Shlib in the libraries
window when I pause the debugger.)
Workaround is to temporarily hide the dynamic libraries?
This is what I have always done.
Either rename or move the dylibs out of the search path. Another option
is to add the full paths of the static library files to your compile
line, rather than using -l options.
I've always thought this was an ugly hack, but as far as I know, there
is no other way.
Drew
---------------------------------------------------------
Drew McCormack
www.maniacalextent.com
_______________________________________________
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