From f35f4fbb7de8540e2c3e16f9c4d974f5686d965c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Sun, 12 Feb 2017 22:02:07 +0100 Subject: [PATCH] esound: fix build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit | /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 Signed-off-by: Martin Jansa --- 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 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 }