• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Library dependencies
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re:[ 1/2OT] CVS gui client for X - Results of the poll
  • Next by Date: Multiple Window Controllers...passing values
  • Previous by thread: Re: copy formatted text
  • Next by thread: Multiple Window Controllers...passing values
  • Index(es):
    • Date
    • Thread