From: Sudip Mukherjee Date: Fri, 30 Jun 2023 15:32:46 +0000 (+0100) Subject: libssh2: disable rpath to fix curl-native build X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~440 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c213d8579951e168a19231cf5b2f81d55e059a22;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- 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 = ""