diff options
author | Joe MacDonald <joe_macdonald@mentor.com> | 2015-03-13 13:50:38 -0400 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2015-03-13 14:32:34 -0400 |
commit | 3c9880fc79f601e44f1c99ad259298ffd254971d (patch) | |
tree | ea156e5d25791117bf3380119abbd9e6f843282f /meta-networking/recipes-protocols | |
parent | 7f274585316a3ac85b3b14f4bb8a297662141f05 (diff) | |
download | meta-openembedded-3c9880fc79f601e44f1c99ad259298ffd254971d.tar.gz |
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>
Diffstat (limited to 'meta-networking/recipes-protocols')
-rw-r--r-- | meta-networking/recipes-protocols/openflow/openflow.inc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta-networking/recipes-protocols/openflow/openflow.inc b/meta-networking/recipes-protocols/openflow/openflow.inc index 1a226f82c..75d8ab8d7 100644 --- a/meta-networking/recipes-protocols/openflow/openflow.inc +++ b/meta-networking/recipes-protocols/openflow/openflow.inc | |||
@@ -15,11 +15,14 @@ SRC_URI = "git://gitosis.stanford.edu/openflow.git;protocol=git" | |||
15 | 15 | ||
16 | DEPENDS = "virtual/libc" | 16 | DEPENDS = "virtual/libc" |
17 | 17 | ||
18 | EXTRA_OECONF += "KARCH=${TARGET_ARCH}" | ||
19 | |||
20 | PACKAGECONFIG ??= "openssl" | 18 | PACKAGECONFIG ??= "openssl" |
21 | PACKAGECONFIG[openssl] = "--enable-ssl,--disable-ssl, openssl, libssl" | 19 | PACKAGECONFIG[openssl] = "--enable-ssl,--disable-ssl, openssl, libssl" |
22 | 20 | ||
21 | EXTRA_OECONF += " \ | ||
22 | KARCH=${TARGET_ARCH} \ | ||
23 | ${@base_contains('PACKAGECONFIG', 'openssl', 'SSL_LIBS="-lssl -lcrypto"', '', d)} \ | ||
24 | " | ||
25 | |||
23 | S = "${WORKDIR}/git" | 26 | S = "${WORKDIR}/git" |
24 | 27 | ||
25 | inherit autotools-brokensep | 28 | inherit autotools-brokensep |