Re: static to override dylib
Re: static to override dylib
- Subject: Re: static to override dylib
- From: Chris Espinosa <email@hidden>
- Date: Mon, 14 Jul 2008 11:51:07 -0700
On Jul 14, 2008, at 11:38 AM, R.L. Grigg wrote:
Just thinking out loud... Wouldn't it make sense that if you
explicitly include libxyz.a that this would tell the linker that you
do not want to link against libxyz.dylib? This would sure simplify
things and save a lot of headaches.
This is in fact the recommended solution. Given -lxyz, the linker
will always prefer libxyz.dylib to libxyz.a in the same directory. You
override this by providing an explicit full path to /usr/lib/libxyz.a,
which you can do in Other Linker Flags in Xcode.
Chris
_______________________________________________
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