aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2015-10-29 17:27:51 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-11-06 17:49:39 +0100
commit77d016936b1869c99d5804a3f3b2bd262ed751a4 (patch)
tree82b09df78e5e61deb63918ff79b10fdb75ba3c06
parent88337cf73cd6e5077ab51941d1a27e4a6579ce2a (diff)
downloadmeta-openembedded-contrib-77d016936b1869c99d5804a3f3b2bd262ed751a4.tar.gz
libssh2: specify the search dir to avoid host contamination
Set the search dir for libssl and libz to only STAGING_LIBDIR to avoid searching host libs. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-support/libssh2/libssh2_1.6.0.bb4
1 files changed, 3 insertions, 1 deletions
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 022482c791..4f03b999e6 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} \
"