title: issues while staticaly linking libcurl in xcode
body: <p>I'm getting the following linker errors</p>
  
  <blockquote>
    <p><code>Undefined symbols for architecture x86_64:
      "_SSLDisposeContext", referenced from:
          _darwinssl_connect_common in libcurl.a(libcurl_la-curl_darwinssl.o)
          _Curl_darwinssl_close in libcurl.a(libcurl_la-curl_darwinssl.o)
      "_SSLNewContext", referenced from:
          _darwinssl_connect_common in libcurl.a(libcurl_la-curl_darwinssl.o)
      "_SSLSetEnableCertVerify", referenced from:
          _darwinssl_connect_common in libcurl.a(libcurl_la-curl_darwinssl.o)
      "_SSLSetProtocolVersionEnabled", referenced from:
          _darwinssl_connect_common in libcurl.a(libcurl_la-curl_darwinssl.o)
      "_SecCertificateCopyLongDescription", referenced from:
          _darwinssl_connect_common in libcurl.a(libcurl_la-curl_darwinssl.o)
          _append_cert_to_array in libcurl.a(libcurl_la-curl_darwinssl.o)
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)</code></p>
  </blockquote>
  
  <p>lipo -info says: <code>Architectures in the fat file: libcurl.a are: i386 armv7 armv7s x86_64 arm64</code></p>
  
  <p>and <strong>security.framework</strong> is linked</p>
  
  <p>Thank you in advance
  Greetings
  D</p>