diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2018-05-21 12:07:00 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-05-28 20:31:20 +0200 |
commit | 536e9f828997c39d67fcf09cb3b2c19d4cf216cc (patch) | |
tree | 7345923532524f8b9594ef5e69408008b625f84b /tests/extern-scan.pl | |
parent | eb678badcb6783356a5160d91dc637701c919395 (diff) |
configure: fix ssh2 linking when built with a static mbedtls
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@gmail.com>
Closes #2613
Diffstat (limited to 'tests/extern-scan.pl')
0 files changed, 0 insertions, 0 deletions