[Buildroot] [PATCH 1/1] libcurl: fix build with ssh2 and static mbedtls

Peter Korsgaard peter at korsgaard.com
Sun Jun 17 14:57:17 UTC 2018


>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at gmail.com> writes:

 > The ssh2 pkg-config file could contain the following lines when build
 > with a static version of mbedtls:
 >    Libs: -L${libdir} -lssh2 /xxx/libmbedcrypto.a
 >    Libs.private: /xxx/libmbedcrypto.a

 > This static mbedtls library must be used to correctly detect ssh2
 > support and this library must be copied in libcurl.pc otherwise
 > compilation of any application (such as upmpdcli) with libcurl will fail
 > when trying to found mbedtls functions included in libssh2.
 > So, replace pkg-config --libs-only-l by pkg-config --libs.

 > Fixes:
 >  - http://autobuild.buildroot.net/results/43e24b22a77f616d6198c10435dcc23cc3b9088a

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>

Committed to 2018.02.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list