Re: Adding dynamic library soft links
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