mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
libvirt: fix python install in multilib case.
Currently libvirt python builds in the multilib case, but fails to install. Switch from PN to BPN, and fix compile to be consistent. Signed-off-by: Bruce Ashfield <bruce@zedd.org>
This commit is contained in:
parent
f7fd448461
commit
357ca45fb1
|
@ -42,14 +42,14 @@ python __anonymous () {
|
|||
|
||||
do_compile_append() {
|
||||
if [ "${LIBVIRT_PYTHON_ENABLE}" = "1" ]; then
|
||||
cd ${WORKDIR}/libvirt-python-${PV} && \
|
||||
cd ${WORKDIR}/${BPN}-python-${PV} && \
|
||||
${STAGING_BINDIR_NATIVE}/python-native/python setup.py build
|
||||
fi
|
||||
}
|
||||
|
||||
do_install_append() {
|
||||
if [ "${LIBVIRT_PYTHON_ENABLE}" = "1" ]; then
|
||||
cd ${WORKDIR}/${PN}-python-${PV} && \
|
||||
cd ${WORKDIR}/${BPN}-python-${PV} && \
|
||||
${STAGING_BINDIR_NATIVE}/python-native/python setup.py install \
|
||||
--install-lib=${D}/${PYTHON_SITEPACKAGES_DIR} ${LIBVIRT_INSTALL_ARGS}
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user