Skip to contentSkip to conversation

libssh2: specify the search dir to avoid host contamination

PATCH New [email protected] 1 participant 1 message Oct 29, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libssh2: specify the search dir to avoid host contamination

From: Jackie Huang <[email protected]>

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

---
 meta-oe/recipes-support/libssh2/libssh2_1.6.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-support/libssh2/libssh2_1.6.0.bb +3 -1
index 022482c..4f03b99 100644
@@ -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} \
                 "
Signature · 1 line
1.9.1