cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl with OpenSSL

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 30 May 2014 13:08:29 +0200

On Fri, May 30, 2014 at 01:49:48PM +0530, Rohit Goel wrote:
> I am trying to build curl on Linux platform.
> I want to use OpenSSL but I want the library names for open-ssl to be changed
> from the default.
> Instead of linking to cdscrypto and ssl, I want it to link to mycdscrypto and
> myssl (we have the SSL libraries renamed to avoid conflicts)
>
> How can I achieve this ?
> Any help would be greatly appreciated.

The easiest way is probably to create your own custom openssl.pc file that
matches what you need in your environment, then point curl's configure to it
with the PKG_CONFIG_PATH environment variable. There shouldn't be any need to
change libcurl's source code to do this.

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