www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: [PATCH] Do not expose private libraries nor link flags to clients of libssh2

Re: [PATCH] Do not expose private libraries nor link flags to clients of libssh2

From: Mikhail Gusarov <dottedmag_at_dottedmag.net>
Date: Mon, 19 May 2014 16:34:33 +0200

On Mon, May 19, 2014 at 4:25 PM, Henrik Nordström <
henrik_at_henriknordstrom.net> wrote:

If there is linker flags or libs that is not needed then those should
> perhaps not be there in the first place?
>

Linker flags needed to build libssh2 itself are not identical to those
which needed to be passed to dependent software.

> libssh do require a number of other libraries, and you can not omit
> those here without causing applications to fail linking.
>

In the world of ELF (and even Mach-O) one can. That's why Libs and
Libs.private keys exist, latter only exposed if one asks pkg-config to
provide options for static linking.

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2014-05-19

the libssh2 team