cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Building curl with openssl only for dynamic libraries but not static

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 5 Feb 2015 23:31:02 +0100 (CET)

On Thu, 5 Feb 2015, Sachin Nikumbh wrote:

> I am building curl with openssl. I am using the following configuration
> options:
>
> --wish-ssl=PATH
> --enable-shared
> --enable-static
>
> As a result, I am getting both static and dynamic libraries linked against
> openssl. Is there any way to enable --with-ssl only for dynamic libraries
> and not for static libraries?

Yes: invoke the entire configure + make sequence twice! Once for shared and
once for static...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-02-05