On Jul 30, 2013, at 3:04 PM, Clemens Gruber <[email protected]> wrote:
> Nick, does this mean that if the environment variable is set when compiling > libcurl, stubs are inserted into the library to be used for the new API on > older systems? Do you know how this works? Apple explains how it works here: <https://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPFrameworks/Concepts/WeakLinking.html> Basically, the curl_darwinssl code is written to use the new API if you are using a newer SDK and the symbols exist on the user's Security framework. If they don't exist, and MACOSX_DEPLOYMENT_TARGET was set to an older cat, then the code will fall back to the old API. If MACOSX_DEPLOYMENT_TARGET wasn't set, or wasn't set far back enough, then you can expect linker and runtime errors on older cats. Nick Zitzmann <http://www.chronosnet.com/> ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
