linking a static library, not a dylib
linking a static library, not a dylib
- Subject: linking a static library, not a dylib
- From: Os <email@hidden>
- Date: Tue, 10 Oct 2006 22:37:50 +0100
Hi,
I have XCode 2.4.
How do I tell it to use the static, rather than dynamic, version of a lib?
I'm using libfreetype in my app. I added libfreetype.a to my target in
XCode, but looking at the build log, it actually just puts -lfreetype
on the link line.
I gave my app to someone else (who doesn't have X11 installed) for
testing and it said it failed to load libfreetype.dylib. So I guess
XCode has linked against the dynamic version.
I do I tell it to link against the static lib version?
cheers,
os.
--
email@hidden
http://www.collective.co.uk/
_______________________________________________
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