Signed-off-by: Mihaela Sendrea <mihaela.send...@enea.com>
---
 meta-networking/recipes-support/netperf/netperf_2.6.0.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta-networking/recipes-support/netperf/netperf_2.6.0.bb 
b/meta-networking/recipes-support/netperf/netperf_2.6.0.bb
index 45760ad..73a819c 100644
--- a/meta-networking/recipes-support/netperf/netperf_2.6.0.bb
+++ b/meta-networking/recipes-support/netperf/netperf_2.6.0.bb
@@ -27,6 +27,11 @@ CFLAGS_append = " -DDO_UNIX -DDO_IPV6 -D_GNU_SOURCE"
 CFLAGS_append = "${@base_contains('DISTRO_FEATURES', 'largefile', \
     ' -D_FILE_OFFSET_BITS=64', '', d)}"
 
+PACKAGECONFIG += "sctp"
+PACKAGECONFIG[sctp] = "--enable-sctp"
+DEPENDS += "lksctp-tools"
+RDEPENDS_${PN} += "kernel-module-sctp"
+
 # autotools.bbclass attends to include m4 files with path depth <= 2 by
 # "find ${S} -maxdepth 2 -name \*.m4", so move m4 files from m4/m4.
 do_configure_prepend() {
-- 
1.8.5.3

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to