summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy A. Puhlman <jpuhlman@mvista.com>2020-02-14 20:42:50 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-15 22:41:45 +0000
commit0373b0b40d004fb9900249bd1ba65dea54495960 (patch)
tree34ba010a97db82b0d7a03e18bc78dd9ea8d1bdc8
parent966a8d95da1d1bbf59d2d4068c27821e8a54ee5f (diff)
downloadopenembedded-core-contrib-0373b0b40d004fb9900249bd1ba65dea54495960.tar.gz
openembedded-core-contrib-0373b0b40d004fb9900249bd1ba65dea54495960.tar.bz2
openembedded-core-contrib-0373b0b40d004fb9900249bd1ba65dea54495960.zip
libsndfile1: mutlilibize sndfile.h
sndfile.h can differ depending on the combined architectures. Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-multimedia/libsndfile/libsndfile1_1.0.28.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.28.bb b/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.28.bb
index 7855008f3d..b100108766 100644
--- a/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.28.bb
+++ b/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.28.bb
@@ -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