[oe] [meta-oe][PATCH] libssh2: specify the search dir to avoid host contamination

jackie.huang at windriver.com jackie.huang at windriver.com
Thu Oct 29 09:27:51 UTC 2015


From: Jackie Huang <jackie.huang at windriver.com>

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

Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
---
 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




More information about the Openembedded-devel mailing list