• 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: How make app use static sqlite in its package, instead of dylib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How make app use static sqlite in its package, instead of dylib


  • Subject: Re: How make app use static sqlite in its package, instead of dylib
  • From: Jerry Krinock <email@hidden>
  • Date: Mon, 20 Dec 2010 09:00:46 -0800

On 2010 Dec 20, at 07:40, Scott Ribe wrote:

> On Dec 19, 2010, at 10:55 PM, Jerry Krinock wrote:
>
>> Anyhow if someone could confirm that my approach is correct I'd appreciate it.
>
> The linker has an extremely strong preference for dylibs. The fact that your static lib is the wrong architecture is not the problem. The mere presence of the dylib in the same path as your static one will cause the dylib to be used.

Well, at least in this case it's not that strong.  After I fattened the static lib to include the needed architecture, it definitely uses the static lib because when I ask it for the version during running I get the version in the static lib, no longer the system's version.

 _______________________________________________
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

References: 
 >How make app use static sqlite in its package, instead of dylib (From: Jerry Krinock <email@hidden>)
 >Re: How make app use static sqlite in its package, instead of dylib (From: Jerry Krinock <email@hidden>)
 >Re: How make app use static sqlite in its package, instead of dylib (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: Copy a static library without linking to it
  • Next by Date: Re: iAd Problem
  • Previous by thread: Re: How make app use static sqlite in its package, instead of dylib
  • Next by thread: Copy a static library without linking to it
  • Index(es):
    • Date
    • Thread