aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/openflow
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-protocols/openflow')
-rw-r--r--meta-networking/recipes-protocols/openflow/openflow.inc7
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 1a226f82ca..75d8ab8d74 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"
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