Message ID | 20220102180634.1448-1-pkj@axis.com |
---|---|
State | New |
Headers | show |
Series | [meta-multimedia] libsrtp: Add support for specifying the crypto library | expand |
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 0946aec60..b17e4767b 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
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> --- meta-multimedia/recipes-support/libsrtp/libsrtp_2.4.2.bb | 4 ++++ 1 file changed, 4 insertions(+)