mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-20 17:47:14 +00:00
live555: Do not use XLOCALE on musl
musl does not have xlocale.h Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -18,9 +18,12 @@ MIRRORS += "http://www.live555.com/liveMedia/public/ http://distcache.FreeBSD.or
|
|||||||
S = "${WORKDIR}/live"
|
S = "${WORKDIR}/live"
|
||||||
TARGET_CC_ARCH += "${LDFLAGS}"
|
TARGET_CC_ARCH += "${LDFLAGS}"
|
||||||
|
|
||||||
|
XLOCALE_libc-musl = " -DXLOCALE_NOT_USED"
|
||||||
|
XLOCALE ?= ""
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
cp ${WORKDIR}/config.linux-cross .
|
cp ${WORKDIR}/config.linux-cross .
|
||||||
echo "COMPILE_OPTS+=" -fPIC "" >> config.linux-cross
|
echo "COMPILE_OPTS+=" -fPIC ${XLOCALE}"" >> config.linux-cross
|
||||||
./genMakefiles linux-cross
|
./genMakefiles linux-cross
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user