Subject: Re: detect linkage against openssl or gcrypt

Re: detect linkage against openssl or gcrypt

From: Guenter <lists_at_gknw.net>
Date: Mon, 29 Jul 2013 14:16:56 +0200

On 28.07.2013 04:56, Peter Stuge wrote:
> The correct way to do this is through pkg-config. This is precisely
> the problem that pkg-config solves.
on *nix perhaps, but what about other platforms where no pkg-config
exists - f.e. Windows (or NetWare)? And what about cross-compiling where
I saw too often pkg-config fail?
Sure, for the later you could argue that either configure or the
toolchain is somehow broken, but that's reality ...

@Daniel:
> But I could also imagine a run-time API so that an application can
figure this out on its own...
me too, and while on that we could then also add a flag for zlib ...

Gün.

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