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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Khem Raj 2021-02-07 15:58:16 -08:00
parent d197145a6e
commit baa819d7dd

View File

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