Library dependencies
Library dependencies
- Subject: Library dependencies
- From: Richard Schreyer <email@hidden>
- Date: Fri, 28 Mar 2003 14:53:40 -0800
I need to include the freetype library along with my program. Most
users won't have this on their systems, which would prevent my program
from starting.
I have libfreetype.a included as part of the project, and the proper
search paths (/sw/lib/freetype2/ and /sw/lib/freetype2/freetype/")
defined in my project's target. The problem is, in /sw/lib/ I have
both libfreetype.a and libfreetype.dylib. Project Builder insists on
linking against the dylib, so the program will not start on any system
without a fink-installed freetype.
How would I solve this? or, in more detail, how I can I make PB a) link
against the static library, or b) should I just create a copy build
phase, and copy the dylib into the bundle, as a private library?
The latter will probably increase launch times, and I don't see any
advantage to it since the library won't be updated separately from the
application anyway.
Thanks,
Richard Schreyer
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.