• 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
linking a static library, not a dylib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: linking a static library, not a dylib
      • From: "Justin C. Walker" <email@hidden>
  • Prev by Date: Include popup disabled?
  • Next by Date: Re: linking a static library, not a dylib
  • Previous by thread: Include popup disabled?
  • Next by thread: Re: linking a static library, not a dylib
  • Index(es):
    • Date
    • Thread