mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-01 13:40:04 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user