]> code.ossystems Code Review - openembedded-core.git/commit
python-native: correct prefix handling for oe-core sysroot layout
authorPhil Blundell <philb@gnu.org>
Thu, 5 Jan 2012 06:30:36 +0000 (22:30 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Jan 2012 11:18:24 +0000 (11:18 +0000)
commit3b01b884dac0b31af8f5f2ebd60e5939e0111873
tree063ddb024185c5f2961668988af979a8f6e0bfa6
parent3e9c368a8045044736fc7e348404060498c7491b
python-native: correct prefix handling for oe-core sysroot layout

Don't try to guess a path based on ${HOST_SYS} since this is not where the
files in the sysroot are likely to be.  Instead, just use the "plat_specific"
approach of taking STAGING_INCDIR and knocking off the trailing "/include" for
all cases.  This is still evidently suboptimal but does at least seem to give
the correct results.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python-native/12-distutils-prefix-is-inside-staging-area.patch
meta/recipes-devtools/python/python-native_2.7.2.bb