Subject: Re: detect linkage against openssl or gcrypt

Re: detect linkage against openssl or gcrypt

From: Peter Stuge <peter_at_stuge.se>
Date: Sun, 28 Jul 2013 04:56:22 +0200

Jan David Mol wrote:
> libssh2 can be linked against openssl or gcrypt however, so my
> build environment needs to know which one in order to trigger the
> proper initialisation code and avoid unneeded dependencies.

The correct way to do this is through pkg-config. This is precisely
the problem that pkg-config solves.

If libssh2 doesn't have a .pc file yet it needs to get one!

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2013-07-28