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 <[email protected]> --- meta/recipes-support/libssh2/libssh2_1.11.1.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-support/libssh2/libssh2_1.11.1.bb b/meta/recipes-support/libssh2/libssh2_1.11.1.bb index 271bd14bed7..0d1237852f5 100644 --- a/meta/recipes-support/libssh2/libssh2_1.11.1.bb +++ b/meta/recipes-support/libssh2/libssh2_1.11.1.bb @@ -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"
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#234088): https://lists.openembedded.org/g/openembedded-core/message/234088 Mute This Topic: https://lists.openembedded.org/mt/118534180/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
