Skip to contentSkip to conversation

libsrtp: Copy ar-lib from automake

PATCH New Khem Raj 1 participant 1 message Feb 8, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 libsrtp: Copy ar-lib from automake

since libsrtp does not run automake, it does not get to add missing files e.g. ar-lib macro file which is needed during autoreconf, therefore copy this file from native automake to use here

Cc Andreas Müller <[email protected]>
---
 meta-multimedia/recipes-support/libsrtp/libsrtp_2.3.0.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-multimedia/recipes-support/libsrtp/libsrtp_2.3.0.bb +4 -1
index 6f349e9c81..9d4c305fc7 100644
@@ -12,6 +12,9 @@ SRC_URI = "git://github.com/cisco/libsrtp.git"
 inherit autotools pkgconfig
 
 EXTRA_OEMAKE += "shared_library"
-EXTRA_AUTORECONF += "--exclude=automake"
+
+do_configure_prepend() {
+    cp ${STAGING_DATADIR_NATIVE}/automake-*/ar-lib ${S}
+}
 
 ALLOW_EMPTY_${PN} = "1"
Signature · 1 line
2.30.0