mirror of
git://git.yoctoproject.org/poky
synced 2026-10-24 14:55:33 +00:00
python3: Do not hardcode "lib" for distutils
Get the sys.lib from python3 itself and do not use hardcoded value of 'lib' for distutils. Solve the error below that occurs when run "python3 setup.py install" on lib64 multilib platform: [Errno 2] No such file or directory: '/usr/lib/python3.7/site-packages/test-easy-install-1828.write-test' (From OE-Core rev: fb33127de5d80f5bcb84edf6cf4007bca73fa863) Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
1 parent
e774c22381
commit
b7a5901dd6
2 files changed
+44
No files matched your search
@@ -30,6 +30,7 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
|
||||
file://0001-setup.py-pass-missing-libraries-to-Extension-for-mul.patch \
|
||||
file://0001-Makefile-do-not-compile-.pyc-in-parallel.patch \
|
||||
file://0001-configure.ac-fix-LIBPL.patch \
|
||||
file://0001-python3-Do-not-hardcode-lib-for-distutils.patch \
|
||||
"
|
||||
|
||||
SRC_URI_append_class-native = " \
|
||||
|
||||
Reference in new issue
Block a user