Re: Undefined symbols: "_fputs$UNIX2003", referenced from:
Re: Undefined symbols: "_fputs$UNIX2003", referenced from:
- Subject: Re: Undefined symbols: "_fputs$UNIX2003", referenced from:
- From: Nick Zitzmann <email@hidden>
- Date: Mon, 13 Oct 2008 19:12:51 -0600
On Oct 13, 2008, at 6:39 PM, Rich Collyer wrote:
It looks like part of my problem may be that XCode is forcing me to
link against the libcrypto library that comes with the OS, even
though I state a specific search path and have the -
search_paths_first flag set.
XCode is adding a -lcrypto flag into the linking command, which I am
guessing is a way to force the use of the system libcrypto library.
Yeah, that would do it. Unfortunately there is no way to get the
linker to prefer static libraries over dynamic ones.
There is, however, a workaround. Instead of including your static
library in the project, take it out and add the path to the library as
a linker flag. That will force a static link of the library.
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