Re: Xcode picking up wrong library
Re: Xcode picking up wrong library
- Subject: Re: Xcode picking up wrong library
- From: Steve Checkoway <email@hidden>
- Date: Thu, 26 Mar 2009 01:18:59 -0700
On Mar 25, 2009, at 4:59 PM, Rick Mann wrote:
I have a project that includes a version of libmp3lame. My project
explicitly includes our built libmp3lame.a file, but Xcode insists
on picking up the libmp3lame.dylib in /usr/local/lib (which I happen
to have, but not all users of my app will).
So, my options seem to be to either reference the library I really
want with -l/full/path/to/lib, or use -Z to remove the default ld64
search paths (and possibly re-add the default paths to the end of
our search paths).
Gcc prefers dynamic libraries over static ones. This has come up a
number of times on this list. The work-arounds are in the archives.
--
Steve Checkoway
"Anyone who says that the solution is to educate the users
hasn't ever met an actual user." -- Bruce Schneier
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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