]> code.ossystems Code Review - openembedded-core.git/commit
python3: fix patching get_python_lib() in distutils/sysconfig.py
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>
Wed, 9 Mar 2016 15:01:49 +0000 (17:01 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Mar 2016 16:59:56 +0000 (16:59 +0000)
commit28d29004aa7d17794216d7df55afc308b1f0e806
tree5fef6dbe861b97e1504410b136fb5a9c3ded3352
parentb0d714c7f831828a5e09381fe36e3f859c16b2d9
python3: fix patching get_python_lib() in distutils/sysconfig.py

Previous, two things were wrong:
1) lib_basename was set from STAGING_LIBDIR only if prefix parameter was empty or missing
2) if prefix was not empty, lib_basename reverted to sys.lib, even if STAGING_LIBDIR
should've overriden it

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch