From c213d8579951e168a19231cf5b2f81d55e059a22 Mon Sep 17 00:00:00 2001 From: Sudip Mukherjee Date: Fri, 30 Jun 2023 16:32:46 +0100 Subject: [PATCH] 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. Signed-off-by: Sudip Mukherjee Signed-off-by: Richard Purdie --- meta/recipes-support/libssh2/libssh2_1.11.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-support/libssh2/libssh2_1.11.0.bb b/meta/recipes-support/libssh2/libssh2_1.11.0.bb index 711bf937f52..edc25db1b16 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 EXTRA_OECONF += "\ --with-libz \ --with-libz-prefix=${STAGING_LIBDIR} \ + --disable-rpath \ " DISABLE_STATIC = "" -- 2.47.3