libsrtp: Add support for specifying the crypto library

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Peter Kjellerstedt 2022-01-02 19:06:34 +01:00 committed by Khem Raj
parent e0f4e74671
commit 7452265666

View File

@ -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