spice: Use python3 and modules during build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2020-01-23 16:52:43 -08:00
parent 46951201fc
commit 5af264c7b4
@@ -31,11 +31,10 @@ S = "${WORKDIR}/git"
inherit autotools gettext python3native python3-dir pkgconfig inherit autotools gettext python3native python3-dir pkgconfig
DEPENDS += "spice-protocol jpeg pixman alsa-lib glib-2.0 python-pyparsing-native python-six-native glib-2.0-native" DEPENDS += "spice-protocol jpeg pixman alsa-lib glib-2.0 python3-pyparsing-native python3-six-native glib-2.0-native"
DEPENDS_append_class-nativesdk = "nativesdk-openssl" DEPENDS_append_class-nativesdk = "nativesdk-openssl"
export PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python" export PYTHON="${STAGING_BINDIR_NATIVE}/python3-native/python3"
export PYTHONPATH="${PKG_CONFIG_SYSROOT_DIR}${libdir}/python2.7/site-packages"
CFLAGS_append = " -Wno-error" CFLAGS_append = " -Wno-error"