[Buildroot] [PATCH 1/1] xerces: fix static linking with mbedtls
thomas.petazzoni at bootlin.com
Sat Nov 3 13:48:01 UTC 2018
On Fri, 2 Nov 2018 23:56:36 +0100, Fabrice Fontaine wrote:
> The fullpath to mbedtls library in libcurl.pc was added by
> https://patchwork.ozlabs.org/patch/917565. This patch was merged
> This fullpath in libssh2.pc was added by
> This patch to libssh2 was not yet merged upstream so indeed we could
> find an other solution.
> For example, instead of adding $LIBMBEDCRYPTO (which contains the full
> library path returned by AC_LIB_HAVE_LINKFLAGS) to LIBS, an other
> solution would be to simply add -lmbedcrypto to LIBS.
> If you agree, I can test this proposal and send a new patch to libssh2.
Use LTLIBMBEDCRYPTO instead of LIBMBEDCRYPTO. We had the same problem
in the past, and that's how Romain Naour solved it:
> > BTW, do you have a minimal defconfig that exhibits this problem?
> Nope, I used the autobuilder defconfig but I think you need
> BR2_PACKAGE_LIBSSH2_MBEDTLS=y to build libssh2 with mbedtls instead of
It was set in my configuration, even if not visible in the minimal
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
More information about the buildroot