live555: Define XLOCALE_NOT_USED for glibc too

glibc has removed xlocale.h from public APIs starting
2.26 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Khem Raj
2017-06-25 22:34:40 -07:00
committed by Martin Jansa
parent 1fb8406a9e
commit 01d70f84b1
@@ -16,12 +16,9 @@ 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 ${XLOCALE}"" >> config.linux-cross
echo "COMPILE_OPTS+=" -fPIC -DXLOCALE_NOT_USED"" >> config.linux-cross
./genMakefiles linux-cross
}