Skip to contentSkip to conversation

libssh2: disable rpath to fix curl-native build

PATCH New Sudip Mukherjee 1 participant 1 message Jun 30, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta/recipes-support/libssh2/libssh2_1.11.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-support/libssh2/libssh2_1.11.0.bb +1 -0
index 711bf937f5..edc25db1b1 100644
@@ -18,6 +18,7 @@ inherit autotools pkgconfig ptest
 EXTRA_OECONF += "\
                  --with-libz \
                  --with-libz-prefix=${STAGING_LIBDIR} \
+                 --disable-rpath \
                 "
 DISABLE_STATIC = ""
 
Signature · 1 line
2.30.2