openflow: add libcrypto to static openflow library

An update in OpenSSL removed the -lcrypto from libssl's pkg-config
options.  The old behaviour always linked it with -lssl, so revert to that
for now.

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
Joe MacDonald 2015-03-13 13:50:38 -04:00
parent 7f27458531
commit 3c9880fc79

View File

@ -15,11 +15,14 @@ SRC_URI = "git://gitosis.stanford.edu/openflow.git;protocol=git"
DEPENDS = "virtual/libc"
EXTRA_OECONF += "KARCH=${TARGET_ARCH}"
PACKAGECONFIG ??= "openssl"
PACKAGECONFIG[openssl] = "--enable-ssl,--disable-ssl, openssl, libssl"
EXTRA_OECONF += " \
KARCH=${TARGET_ARCH} \
${@base_contains('PACKAGECONFIG', 'openssl', 'SSL_LIBS="-lssl -lcrypto"', '', d)} \
"
S = "${WORKDIR}/git"
inherit autotools-brokensep