summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-03-29 16:11:00 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2017-04-05 19:28:28 +0200
commit60615588194c0ebcae59c031cc59cda69417cc01 (patch)
tree0f506a522a68b2d8b1f9ab7c7170d1d422c4de3f
parentc2a7f35398b366e1af04e502708990d0337f3268 (diff)
downloadmeta-openembedded-60615588194c0ebcae59c031cc59cda69417cc01.tar.gz
live555: Do not use XLOCALE on musl
musl does not have xlocale.h Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-multimedia/live555/live555.inc5
1 files changed, 4 insertions, 1 deletions
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
18S = "${WORKDIR}/live" 18S = "${WORKDIR}/live"
19TARGET_CC_ARCH += "${LDFLAGS}" 19TARGET_CC_ARCH += "${LDFLAGS}"
20 20
21XLOCALE_libc-musl = " -DXLOCALE_NOT_USED"
22XLOCALE ?= ""
23
21do_configure() { 24do_configure() {
22 cp ${WORKDIR}/config.linux-cross . 25 cp ${WORKDIR}/config.linux-cross .
23 echo "COMPILE_OPTS+=" -fPIC "" >> config.linux-cross 26 echo "COMPILE_OPTS+=" -fPIC ${XLOCALE}"" >> config.linux-cross
24 ./genMakefiles linux-cross 27 ./genMakefiles linux-cross
25} 28}
26 29