1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

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>
This commit is contained in:
Sudip Mukherjee
2023-06-30 16:32:46 +01:00
committed by Richard Purdie
parent 23c6c87f55
commit be72174002
@@ -18,6 +18,7 @@ inherit autotools pkgconfig ptest
EXTRA_OECONF += "\
--with-libz \
--with-libz-prefix=${STAGING_LIBDIR} \
--disable-rpath \
"
DISABLE_STATIC = ""