• 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
Re: static to override dylib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: static to override dylib


  • Subject: Re: static to override dylib
  • From: Peter O'Gorman <email@hidden>
  • Date: Mon, 14 Jul 2008 10:40:20 -0500

Jake wrote:
> What is the recommended approach to configure Xcode to link in a
> static library that overrides the dylib one in /usr/lib?

Unless you add the -search_paths_first linker flag (I am sure there is
an Xcode checkbox for this somewhere, but do not currently have access
to my mac to check), the linker will search along all -L paths and
system search paths looking for a shared version of libiconv before
going back to the start and looking for a static archive.

Check the build transcript to ensure that either your libiconv.a archive
is listed with its full path or -search_paths_first appears along with
the -L/path/to/static/archive/ -liconv.

Peter
--
Peter O'Gorman
http://pogma.com
 _______________________________________________
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: static to override dylib
      • From: "R.L. Grigg" <email@hidden>
References: 
 >static to override dylib (From: Jake <email@hidden>)

  • Prev by Date: Re: adding framwork to x code
  • Next by Date: Re: Xcode 3.1, iPhone SDK, and NDA
  • Previous by thread: static to override dylib
  • Next by thread: Re: static to override dylib
  • Index(es):
    • Date
    • Thread