]> code.ossystems Code Review - openembedded-core.git/commitdiff
openssl: fix add missing `make depend` command before `make` library
authorAndrej Valek <andrej.valek@siemens.com>
Fri, 5 Aug 2016 11:16:33 +0000 (13:16 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 Aug 2016 09:45:13 +0000 (10:45 +0100)
Settings from EXTRA_OECONF like en/disable no-ssl3, are transferred
only into DEPFLAGS. It means that settings have no effect on output files.
DEPFLAGS will be transferred into output files with make depend command.

https://wiki.openssl.org/index.php/Compilation_and_Installation#Dependencies

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-connectivity/openssl/openssl.inc

index 1a0031ea59975f9973a9d5e66d39320d3401859f..620673aa9a408589dd707e8c42482f8313374c1b 100644 (file)
@@ -8,7 +8,7 @@ SECTION = "libs/network"
 LICENSE = "openssl"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8"
 
-DEPENDS = "hostperl-runtime-native"
+DEPENDS = "makedepend-native hostperl-runtime-native"
 DEPENDS_append_class-target = " openssl-native"
 
 SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz \
@@ -149,6 +149,7 @@ do_compile_prepend_class-target () {
 }
 
 do_compile () {
+       oe_runmake depend
        oe_runmake
 }