[oe] [meta-perl][PATCH] libnet-ssleay-perl: fix build error

Armin Kuster akuster808 at gmail.com
Sat Jan 28 20:09:53 UTC 2017


../../libexec/i586-oe-linux/gcc/i586-oe-linux/6.3.0/ld: cannot find -lssl -lcrypto -lz
| collect2: error: ld returned 1 exit status
| Makefile:492: recipe for target 'blib/arch/auto/Net/SSLeay/SSLeay.so' failed
| make: *** [blib/arch/auto/Net/SSLeay/SSLeay.so] Error 1

Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb | 3 +--
 1 file changed, 1 insertion(+), 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..f347942 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,7 @@ inherit cpan ptest
 
 EXTRA_CPANFLAGS = "LIBS='-L=${STAGING_LIBDIR} -L=${STAGING_BASELIBDIR}' \
                    INC=-I=${STAGING_INCDIR} \
-                   'EXTRALIBS=-lssl -lcrypto -lz' \
-                   'LDLOADLIBS=-lssl -lcrypto -lz' \
+                   '-lssl -lcrypto -lz' \
                   "
 
 do_configure_prepend() {
-- 
2.7.4




More information about the Openembedded-devel mailing list