python: Fix build on musl

musl has posix_close which conflicts in python
so lets rename it.

(From OE-Core rev: 9de4f6eb07696f618d4762c6eeb34dc9ea3080bd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2014-08-14 02:27:50 -07:00
committed by Richard Purdie
parent 9c1ea58249
commit 0670cecb5b
2 changed files with 44 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ SRC_URI += "\
file://python-fix-build-error-with-Readline-6.3.patch \
file://python-2.7.3-CVE-2014-1912.patch \
file://json-flaw-fix.patch \
file://posix_close.patch \
"
S = "${WORKDIR}/Python-${PV}"