Skip to contentSkip to conversation

iperf3: Add OpenSSL build option to PACKAGECONFIG

PATCH New Alexander Vickberg 1 participant 1 message May 5, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 iperf3: Add OpenSSL build option to PACKAGECONFIG

Make building with OpenSSL optional but enabled by default as today.

---
Changes in v2: No changes. Resend with git send-email.

 meta-oe/recipes-benchmark/iperf3/iperf3_3.7.bb | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
meta-oe/recipes-benchmark/iperf3/iperf3_3.7.bb +3 -4
index 98d2faabf..c7ad91b24 100644
@@ -11,8 +11,6 @@ AUTHOR = "ESNET <[email protected]>, Lawrence Berkeley National Laboratory <websupport
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=f9088fe7ffdccd042f7645f1012d7f70"
 
-DEPENDS = "openssl"
-
 SRC_URI = "git://github.com/esnet/iperf.git \
            file://0002-Remove-pg-from-profile_CFLAGS.patch \
            "
@@ -23,8 +21,9 @@ S = "${WORKDIR}/git"
 
 inherit autotools
 
+PACKAGECONFIG ?= "openssl"
+
 PACKAGECONFIG[lksctp] = "ac_cv_header_netinet_sctp_h=yes,ac_cv_header_netinet_sctp_h=no,lksctp-tools"
+PACKAGECONFIG[openssl] = "--with-openssl=${RECIPE_SYSROOT}${prefix},--without-openssl,openssl"
 
 CFLAGS += "-D_GNU_SOURCE"
-
-EXTRA_OECONF = "--with-openssl=${RECIPE_SYSROOT}${prefix}"
Signature · 1 line
2.25.1