cURL / Mailing Lists / curl-library / Single Mail


Re: Curl with OpenSSL

From: Dan Fandrich <>
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:
Received on 2014-05-30