libnet-ssleay-perl: fix build error
PATCH 1/1 libnet-ssleay-perl: fix build error
../../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 <[email protected]>
--- meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb +1 -2
@@ -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() {
Signature · 1 line
2.7.4
Quoted 15 lines · Armin Kuster
../../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 1Signed-off-by Armin Kuster <[email protected]>--- meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb +0
-0
meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb inherit cpan ptest · line 35
Quoted 6 lines
meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb +1
-2@@ -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' \
Similar to LIBS and INC, there should be a LDFLAGS or some such flag. I guess it needs
to go there.
Quoted 11 lines
meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb +0
-1" do_configure_prepend() { --2.7.4
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel