Re: Adding external library in cocoa app
Re: Adding external library in cocoa app
- Subject: Re: Adding external library in cocoa app
- From: Scott Ribe <email@hidden>
- Date: Thu, 25 Sep 2008 16:18:32 -0500
- Thread-topic: Adding external library in cocoa app
> The linker does link in static libraries, but it prefers dynamic
> libraries over static ones, and will always link to a dynamic library
> if one exists with the same name as the desired static one. Since
> there's no way to change this behavior, the only workaround is to add
> an absolute path to the static library as a linker flag in the "other
> linker flags" build settings.
Or put a copy of the static lib into a folder within your project, and drag
that one into the project. (And possibly delete the prior path from lib
paths, if you already dragged in the lib from the default location.)
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice
_______________________________________________
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