aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2017-02-12 22:02:07 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2017-02-13 18:43:37 +0100
commitf35f4fbb7de8540e2c3e16f9c4d974f5686d965c (patch)
tree360723bc5d159dc98b9abe46bcc482303bb55789
parent765ac512576d33a485ea61601f656d712fe725d0 (diff)
downloadmeta-openembedded-contrib-f35f4fbb7de8540e2c3e16f9c4d974f5686d965c.tar.gz
esound: fix build
| /usr/src/debug/esound/0.2.36-r1/esound-0.2.36/esd.c:144: error: undefined reference to 'sin' | /usr/src/debug/esound/0.2.36-r1/esound-0.2.36/esd.c:137: error: undefined reference to 'sin' Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-multimedia/esound/esound_0.2.36.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/esound/esound_0.2.36.bb b/meta-oe/recipes-multimedia/esound/esound_0.2.36.bb
index dc6c3665ef..49a49a50a8 100644
--- a/meta-oe/recipes-multimedia/esound/esound_0.2.36.bb
+++ b/meta-oe/recipes-multimedia/esound/esound_0.2.36.bb
@@ -24,6 +24,9 @@ EXTRA_OECONF = " \
--disable-arts \
--disable-artstest \
"
+
+CFLAGS += "-lm"
+
do_configure_prepend() {
sed -i -e 's:/usr/include/mme:${STAGING_INCDIR}/mme:g' ${S}/configure.ac
}