• 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: Adding dynamic library soft links
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding dynamic library soft links


  • Subject: Re: Adding dynamic library soft links
  • From: Carl Hoefs <email@hidden>
  • Date: Sat, 16 Jan 2016 13:52:30 -0700

> On Jan 16, 2016, at 12:21 PM, Scott Ribe <email@hidden> wrote:
>
> On Jan 15, 2016, at 11:44 AM, Carl Hoefs <email@hidden> wrote:
>>
>> Or is the only way to avoid this to use the static archive "*.a" form of the library
>
> FYI, in your example, if you add the .a, it (the linker, not Xcode, IIRC) will use the .dylib instead. The only way to get it to use the .a is to put a copy of the .a into some other folder where there is no corresponding dylib and add that copy.

Interesting, but many s/w packages (OpenCV, etc) deliver only .dylib versions. For the others, I added libXXXX.a in Xcode. The build/link log shows it to be using "-lXXXX", so according to your comment, it's picking up the dynamic version, which is fine, if there is one.
-Carl


 _______________________________________________
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: 
 >Adding dynamic library soft links (From: Carl Hoefs <email@hidden>)
 >Re: Adding dynamic library soft links (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: Adding dynamic library soft links
  • Next by Date: Using Configurations to build a single target for multiple platforms?
  • Previous by thread: Re: Adding dynamic library soft links
  • Next by thread: How to convert a framework target to a static library target?
  • Index(es):
    • Date
    • Thread