]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
libssh2: Fix config options to use STAGING_DIR_HOST
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 Mar 2026 13:14:12 +0000 (13:14 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 Mar 2026 17:12:44 +0000 (17:12 +0000)
The previous cleanup was a bit too ambitious, add back the configure options
to use STAGING_DIR_HOST since otherwise it will look at the host system and cause
failures if it happens to be partly compatible.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/libssh2/libssh2_1.11.1.bb

index 271bd14bed7fd928a91096d2182b7fb2fffff958..0d1237852f59c73a24a37c11a61d696ecddf7853 100644 (file)
@@ -18,13 +18,14 @@ inherit autotools pkgconfig ptest
 
 EXTRA_OECONF += "\
                  --with-libz \
+                 --with-libz-prefix=${STAGING_DIR_HOST} \
                  --disable-rpath \
                 "
 DISABLE_STATIC = ""
 
 # only one of openssl and gcrypt could be set
 PACKAGECONFIG ??= "openssl"
-PACKAGECONFIG[openssl] = "--with-crypto=openssl, , openssl"
+PACKAGECONFIG[openssl] = "--with-crypto=openssl --with-libssl-prefix=${STAGING_DIR_HOST}, , openssl"
 PACKAGECONFIG[gcrypt] = "--with-crypto=libgcrypt --with-libgcrypt-prefix=${STAGING_EXECPREFIXDIR}, , libgcrypt"
 
 BBCLASSEXTEND = "native nativesdk"