[oe,meta-oe,28/43] live555: Do not use XLOCALE on musl

Message ID 20170331164247.5052-28-raj.khem@gmail.com
State New
Headers show
Series
  • [oe,meta-oe,01/43] gpm: Update to use git src uri
Related show

Commit Message

Khem Raj March 31, 2017, 4:42 p.m.
musl does not have xlocale.h

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-oe/recipes-multimedia/live555/live555.inc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
2.12.1

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-oe/recipes-multimedia/live555/live555.inc b/meta-oe/recipes-multimedia/live555/live555.inc
index 710dbdec8..a51619350 100644
--- a/meta-oe/recipes-multimedia/live555/live555.inc
+++ b/meta-oe/recipes-multimedia/live555/live555.inc
@@ -18,9 +18,12 @@  MIRRORS += "http://www.live555.com/liveMedia/public/ http://distcache.FreeBSD.or
 S = "${WORKDIR}/live"
 TARGET_CC_ARCH += "${LDFLAGS}"
 
+XLOCALE_libc-musl = " -DXLOCALE_NOT_USED"
+XLOCALE ?= ""
+
 do_configure() {
     cp ${WORKDIR}/config.linux-cross .
-    echo "COMPILE_OPTS+=" -fPIC "" >> config.linux-cross
+    echo "COMPILE_OPTS+=" -fPIC ${XLOCALE}"" >> config.linux-cross
     ./genMakefiles linux-cross
 }