Re: [Xcode-users] Linking static curl lib
Re: [Xcode-users] Linking static curl lib
- Subject: Re: [Xcode-users] Linking static curl lib
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 25 Nov 2008 21:45:11 -0700
On Nov 25, 2008, at 9:28 PM, David Cohn wrote:
Yes, that works... and the build does too... I guess "-lcurl"
somehow specifies that the system paths are searched before "-L"
paths?
No; the problem you've encountered is the linker always prefers
dynamic libraries over static ones when using the "-l" option, and
there is no way to change this behavior. There are, however,
workarounds.
Nick Zitzmann
<http://seiryu.home.comcast.net/>
_______________________________________________
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