Skip to contentSkip to conversation

libsrtp: Add support for specifying the crypto library

PATCH New Peter Kjellerstedt 1 participant 1 message Jan 2, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libsrtp: Add support for specifying the crypto library

---
 meta-multimedia/recipes-support/libsrtp/libsrtp_2.4.2.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-multimedia/recipes-support/libsrtp/libsrtp_2.4.2.bb +4 -0
index 0946aec60..b17e4767b 100644
@@ -13,4 +13,8 @@ SRCREV = "90d05bf8980d16e4ac3f16c19b77e296c4bc207b"
 
 S = "${WORKDIR}/git"
 
+PACKAGECONFIG ?= ""
+PACKAGECONFIG[nss] = "-Dcrypto-library=nss,, nss,,, openssl"
+PACKAGECONFIG[openssl] = "-Dcrypto-library=openssl,, openssl,,, nss"
+
 inherit meson pkgconfig