mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
libxml2: fix python packaging for nativesdk
We enable the python module in nativesdk-libxml2, but the python binary
used is in the native sysroot and thus you get the module installed in
the wrong path. Even with that fixed the python files are still
unpackaged, so create an ${PN}-python package and add them to it. (This
does not affect the libxml target build at all since python is disabled
for that.)
(From OE-Core rev: e3d06aa104065748367e1479138f824da5d9951f)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f0b9a7cf9f
commit
f852934df4
@@ -0,0 +1,21 @@
|
||||
Allow us to pass in PYTHON_SITE_PACKAGES
|
||||
|
||||
The python binary used when building for nativesdk doesn't give us the
|
||||
correct path here so we need to be able to specify it ourselves.
|
||||
|
||||
Upstream-Status: Inappropriate [config]
|
||||
|
||||
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
||||
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -743,7 +743,8 @@ dnl
|
||||
|
||||
PYTHON_VERSION=
|
||||
PYTHON_INCLUDES=
|
||||
-PYTHON_SITE_PACKAGES=
|
||||
+# Allow this to be set externally
|
||||
+#PYTHON_SITE_PACKAGES=
|
||||
PYTHON_TESTS=
|
||||
pythondir=
|
||||
if test "$with_python" != "no" ; then
|
||||
Reference in New Issue
Block a user