[oe] [PATCH 02/11] esound: fix build

Andreas Müller schnitzeltony at googlemail.com
Sun Feb 12 21:02:07 UTC 2017


| /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 at googlemail.com>
---
 meta-oe/recipes-multimedia/esound/esound_0.2.36.bb | 3 +++
 1 file changed, 3 insertions(+)

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 dc6c366..49a49a5 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
 }
-- 
2.9.3




More information about the Openembedded-devel mailing list