Skip to contentSkip to conversation

libsrtp: Fix compilation and add pkgconfig

PATCH New Marek Belisko 1 participant 1 message May 23, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libsrtp: Fix compilation and add pkgconfig

With current recipe state only static library was build. Add extra option to build dynamic library and also inherit pkgconfig to have installed library pkgconfig

---
 meta-multimedia/recipes-support/libsrtp/libsrtp_1.6.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-multimedia/recipes-support/libsrtp/libsrtp_1.6.0.bb +3 -1
index d3ab5b7..6c86818 100644
@@ -11,6 +11,8 @@ SRC_URI = "git://github.com/cisco/libsrtp.git;protocol=https;branch=1_6_x_thrott
            file://0001-Rename-conflicting-variable-mips.patch \
            "
 
-inherit autotools
+inherit autotools pkgconfig
+
+EXTRA_OEMAKE += "shared_library"
 
 ALLOW_EMPTY_${PN} = "1"
Signature · 1 line
2.7.4