cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 5 Feb 2015 23:39:14 +0100

On Thu, Feb 05, 2015 at 02:32:47PM -0500, Sachin Nikumbh wrote:
> Hello,
>
> 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?

I would have thought that dynamic libraries would be preferred over static. Are
you saying if both static and dynamic are available that libcurl links against
the static ones? Have you tried the pkg-config configure method (see INSTALL)?

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