libsndfile1: mutlilibize sndfile.h

sndfile.h can differ depending on the combined architectures.

(From OE-Core rev: 0373b0b40d004fb9900249bd1ba65dea54495960)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jeremy A. Puhlman
2020-02-14 20:42:50 -08:00
committed by Richard Purdie
parent 58e513717f
commit 518198451f

View File

@@ -32,7 +32,11 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa', d)}"
PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"
PACKAGECONFIG[regtest] = "--enable-sqlite,--disable-sqlite,sqlite3"
inherit autotools lib_package pkgconfig
inherit autotools lib_package pkgconfig multilib_header
do_install_append() {
oe_multilib_header sndfile.h
}
# This can't be replicated and is just a memory leak.
# https://github.com/erikd/libsndfile/issues/398