Linking to libcrypto Using 10.6 SDK and Targeting 10.5
Linking to libcrypto Using 10.6 SDK and Targeting 10.5
- Subject: Linking to libcrypto Using 10.6 SDK and Targeting 10.5
- From: Chris Suter <email@hidden>
- Date: Tue, 01 Mar 2011 15:16:57 +1100
Hi all,
We've now switched to using the 10.6 SDK but we still want to target
10.5. We use libcrypto and so for things to work on 10.5 we need to
link to libcrypto.0.9.7 (rather than libcrypto.0.9.8 on 10.6).
However, libcrypto.0.9.7 in the 10.6 SDK has the allowable clients
(the list of things that are alllowed to link to the library) set to
"!"—presumably this was done as means of deprecating linking to 0.9.7.
So, I have two options as far as I can see:
1) Link directly to libcrypto.0.9.7 in the 10.5 SDK (which obviously
doesn't restrict what can link against it).
or
2) Pass "-client_name '!'" as a linker flag.
I'm probably going to go with 1 since I'm not sure what other
side-effects there might be to doing 2.
Anybody got any other suggestions?
I've reported it as rdar://problem/9066904.
Cheers,
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