summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2023-06-30 16:32:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-07-10 11:36:34 +0100
commitbe72174002048f885f9b9fac0781b33808b13451 (patch)
tree87cca31a046ff40bcad5d937cc07b03c9d50d2f3
parent23c6c87f551cbff7c56297734e308e0f2deb05c1 (diff)
downloadpoky-be72174002048f885f9b9fac0781b33808b13451.tar.gz
libssh2: disable rpath to fix curl-native build
When curl is built with PACKAGECONFIG:append = " libssh2", the build fails with the error: gcc: error: unrecognized command-line option '-R' It was trying to set the rpath for libssh2. (From OE-Core rev: c213d8579951e168a19231cf5b2f81d55e059a22) Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/libssh2/libssh2_1.11.0.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-support/libssh2/libssh2_1.11.0.bb b/meta/recipes-support/libssh2/libssh2_1.11.0.bb
index 711bf937f5..edc25db1b1 100644
--- a/meta/recipes-support/libssh2/libssh2_1.11.0.bb
+++ b/meta/recipes-support/libssh2/libssh2_1.11.0.bb
@@ -18,6 +18,7 @@ inherit autotools pkgconfig ptest
18EXTRA_OECONF += "\ 18EXTRA_OECONF += "\
19 --with-libz \ 19 --with-libz \
20 --with-libz-prefix=${STAGING_LIBDIR} \ 20 --with-libz-prefix=${STAGING_LIBDIR} \
21 --disable-rpath \
21 " 22 "
22DISABLE_STATIC = "" 23DISABLE_STATIC = ""
23 24