From: Jackie Huang <[email protected]>

Set the search dir for libssl and libz to only STAGING_LIBDIR
to avoid searching host libs.

Signed-off-by: Jackie Huang <[email protected]>
---
 meta-oe/recipes-support/libssh2/libssh2_1.6.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/libssh2/libssh2_1.6.0.bb 
b/meta-oe/recipes-support/libssh2/libssh2_1.6.0.bb
index 022482c..4f03b99 100644
--- a/meta-oe/recipes-support/libssh2/libssh2_1.6.0.bb
+++ b/meta-oe/recipes-support/libssh2/libssh2_1.6.0.bb
@@ -14,5 +14,7 @@ SRC_URI[sha256sum] = 
"5a202943a34a1d82a1c31f74094f2453c207bf9936093867f41414968c
 inherit autotools pkgconfig
 
 EXTRA_OECONF += "--with-openssl \
-                --with-libz \
+                 --with-libz \
+                 --with-libssl-prefix=${STAGING_LIBDIR} \
+                 --with-libz-prefix=${STAGING_LIBDIR} \
                 "
-- 
1.9.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to