[Buildroot] [PATCH 1/1] libssh2: fix library search path issues when zlib support enabled
thomas.petazzoni at free-electrons.com
Wed Jul 2 07:58:29 UTC 2014
Dear Arnout Vandecappelle,
On Wed, 02 Jul 2014 09:49:57 +0200, Arnout Vandecappelle wrote:
> > Alexandre, can you try to add LIBSSH2_AUTORECONF = YES to libssh2.mk,
> > in replacement to your fix?
> Don't bother, it won't help. This thing is defined in m4/lib-link.m4 (lines
> 154-155) within libssh2 itself. So we'll need to patch that file and _then_ run
So we need to patch that and send a fix upstream, no?
> > That being said, there are a number of packages for which we explicitly
> > pass a --with-<foo>=$(STAGING_DIR), so it's not completely crazy to do
> > the same for libssh2, no?
> Yes, but then it should be done for _all_ libraries used by libssh2, because it
> uses this $additional_libdir failure in a lot of places.
Indeed. Alexandre, could you have a look at this, either fixing the
root of the problem (best solution), or pass the --with-<foo> option
for all libraries that libssh2 can rely on?
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
More information about the buildroot