From 7452265666113883350d4f0204d25f5acc565a15 Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Sun, 2 Jan 2022 19:06:34 +0100 Subject: libsrtp: Add support for specifying the crypto library Signed-off-by: Peter Kjellerstedt Signed-off-by: Khem Raj --- meta-multimedia/recipes-support/libsrtp/libsrtp_2.4.2.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-multimedia/recipes-support/libsrtp/libsrtp_2.4.2.bb b/meta-multimedia/recipes-support/libsrtp/libsrtp_2.4.2.bb index 0946aec60a..b17e4767b4 100644 --- a/meta-multimedia/recipes-support/libsrtp/libsrtp_2.4.2.bb +++ b/meta-multimedia/recipes-support/libsrtp/libsrtp_2.4.2.bb @@ -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 -- cgit 1.2.3-korg