[oe] [PATCH 13/13] libnet-ssleay-perl: fix EXTRALIBS and LDLOADLIBS

Robert Yang liezhi.yang at windriver.com
Mon Feb 13 10:04:27 UTC 2017


Fixed:
recipe-sysroot-native/usr/bin/i586-wrs-linux/../../libexec/i586-wrs-linux/gcc/i586-wrs-linux/6.3.0/ld: cannot find -lssl -lcrypto -lz
collect2: error: ld returned 1 exit status
make: *** [blib/arch/auto/Net/SSLeay/SSLeay.so] Error 1

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
 meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb
index cfd6f51..4695ae4 100644
--- a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb
+++ b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb
@@ -32,8 +32,8 @@ inherit cpan ptest
 
 EXTRA_CPANFLAGS = "LIBS='-L=${STAGING_LIBDIR} -L=${STAGING_BASELIBDIR}' \
                    INC=-I=${STAGING_INCDIR} \
-                   'EXTRALIBS=-lssl -lcrypto -lz' \
-                   'LDLOADLIBS=-lssl -lcrypto -lz' \
+                   'EXTRALIBS=-L=${STAGING_LIBDIR} -lssl -lcrypto -lz' \
+                   'LDLOADLIBS=-L=${STAGING_LIBDIR} -lssl -lcrypto -lz' \
                   "
 
 do_configure_prepend() {
-- 
2.9.0




More information about the Openembedded-devel mailing list